Debian APT
Révision datée du 15 mai 2021 à 13:16 par Admin (discussion | contributions) (Created page with "=Gestion des priorités= [https://serverfault.com/questions/22414/how-can-i-run-debian-stable-but-install-some-packages-from-testing#:~:text=To%20install%20the%20testing%20ver...")
Gestion des priorités
On ajoute les fichiers suivants :
# vi /etc/apt/preferences.d/stable.pref
# 500 <= P < 990: causes a version to be installed unless there is a # version available belonging to the target release or the installed # version is more recent Package: * Pin: release a=stable Pin-Priority: 900
# vi /etc/apt/preferences.d/testing.pref
# 100 <= P < 500: causes a version to be installed unless there is a # version available belonging to some other distribution or the installed # version is more recent Package: * Pin: release a=testing Pin-Priority: 400
# vi /etc/apt/preferences.d/unstable.pref
# 0 < P < 100: causes a version to be installed only if there is no # installed version of the package Package: * Pin: release a=unstable Pin-Priority: 50
# vi /etc/apt/preferences.d/experimental.pref
# 0 < P < 100: causes a version to be installed only if there is no # installed version of the package Package: * Pin: release a=experimental Pin-Priority: 1