minus-squareBotzo@lemmy.worldtoLinux@lemmy.ml•Use arguments in shell script with aptlinkfedilinkarrow-up0·8 hours agoI’d like to suggest that you take a different approach, though it looks like there is a workable suggestion already. Consider using apt_preferences to pin your versions instead of scripting. https://wiki.debian.org/AptConfiguration#apt_preferences_.28APT_pinning Here’s a clip from one of my distrobox builds: Package: python3.10 Pin: version 3.10.* Pin-Priority: 999 linkfedilink
I’d like to suggest that you take a different approach, though it looks like there is a workable suggestion already.
Consider using
apt_preferences
to pin your versions instead of scripting.https://wiki.debian.org/AptConfiguration#apt_preferences_.28APT_pinning
Here’s a clip from one of my distrobox builds:
Package: python3.10 Pin: version 3.10.* Pin-Priority: 999