From: David Kalnischkies Date: Thu, 13 May 2010 15:58:35 +0000 (+0200) Subject: add "NotAutomatic: yes" handling, thanks Osamu Aoki (Closes: #490347) X-Git-Tag: 0.8.0~9^2~46^2~9 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/10df254bd756cea401e2564d465bbb4a99ee8e9e?hp=e1dd65c9f1274621142a20148f23dbd074ac33af add "NotAutomatic: yes" handling, thanks Osamu Aoki (Closes: #490347) --- diff --git a/debian/changelog b/debian/changelog index 0902e79c8..2ad9fbdd2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,7 @@ apt (0.7.26~exp5) UNRELEASED; urgency=low - use stable-codename instead of stable in the examples (Closes: #531492) * doc/apt_preferences.5.xml: - adapt some examples here to use current codenames as well + - add "NotAutomatic: yes" handling, thanks Osamu Aoki (Closes: #490347) [ Jari Aalto ] * debian/rules: diff --git a/doc/apt_preferences.5.xml b/doc/apt_preferences.5.xml index 5f8f9fded..abcf56744 100644 --- a/doc/apt_preferences.5.xml +++ b/doc/apt_preferences.5.xml @@ -97,6 +97,12 @@ APT::Default-Release "stable"; algorithm to set the priorities of the versions of a package. Assign: + +priority 1 +to the versions coming from archives which in their Release +files are marked as "NotAutomatic: yes" like the debian experimental archive. + + priority 100 to the version that is already installed (if any). @@ -116,7 +122,9 @@ algorithm to set the priorities of the versions of a package. Assign: If the target release has not been specified then APT simply assigns priority 100 to all installed package versions and priority 500 to all -uninstalled package versions. +uninstalled package versions, expect versions coming from archives which +in their Release files are marked as "NotAutomatic: yes" - +these versions get the priority 1. APT then applies the following rules, listed in order of precedence, to determine which version of a package to install.