X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Fetc%2Fapt%2Fpreferences.d%2Funstable%2FDEBIAN;h=87d6c00f956a08fb61e6b3188e65bfc0ad49f16e;hb=e6c8a36522847eca91819ab3eb656dd824bc3e3c;hp=4ae9f6ce53fc0e884366148ee10e5adf0bf3960a;hpb=8730d8986b29c6481223b02a85eaf448212a97c1;p=automated-distro-installer diff --git a/fai/config/files/etc/apt/preferences.d/unstable/DEBIAN b/fai/config/files/etc/apt/preferences.d/unstable/DEBIAN index 4ae9f6c..87d6c00 100644 --- a/fai/config/files/etc/apt/preferences.d/unstable/DEBIAN +++ b/fai/config/files/etc/apt/preferences.d/unstable/DEBIAN @@ -1,7 +1,10 @@ Explanation: https://debian-handbook.info/browse/stable/sect.apt-get.html#sect.apt.priorities Explanation: And man apt_preferences Explanation: Installed packages get 100 priority, so this won't upgrade testing -Explanation: packages unless explicitly asked to. Just went middlish between 1-100 +Explanation: packages unless explicitly asked to. +Explanation: Less than 0 won't install package unless you specify the archive. +Explanation: This is good, so you never just search for a package and install +Explanation: it without knowing it's from a different archive. Explanation: Install with apt-get install package/testing. But if dependencies are Explanation: needed, or need upgrading, Explanation: apt-get -t testing package, setting testing to priority @@ -9,8 +12,8 @@ Explanation: 990 just for that command. Explanation: Use apt-cache policy to verify these settings. Package: * Pin: release a=unstable -Pin-Priority: 30 +Pin-Priority: -20 Package: * Pin: release a=unstable-updates -Pin-Priority: 30 +Pin-Priority: -20