buster and some fixes
[automated-distro-installer] / fai / config / files / etc / apt / preferences.d / unstable / DEBIAN
index c3e464bf8fe4d11b68c2e7c56105aba2d179838e..a88edb765b30b7d1a79123fc57716df9b286c927 100644 (file)
@@ -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,13 +12,12 @@ 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
 
-
-Explanation: Allow this testing package to automatically upgrade.
-Package: unison
-Pin-Piority: 100
+Package: *
+Pin: release a=experimental
+Pin-Priority: -40