X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/dc4002d8c3c687e6614d01b34e4b6aa929411ea9..73fc19d055b20178e5efae08013fe24663f6d89c:/doc/apt_preferences.5.xml?ds=inline diff --git a/doc/apt_preferences.5.xml b/doc/apt_preferences.5.xml index 12b03196a..162c2f00e 100644 --- a/doc/apt_preferences.5.xml +++ b/doc/apt_preferences.5.xml @@ -60,6 +60,9 @@ belongs. It is possible to single out a distribution, "the target release", which receives a higher priority than other distributions do by default. The target release can be set on the apt-get command line or in the APT configuration file /etc/apt/apt.conf. +Note that this has precedence over any general priority you set in the +/etc/apt/preferences file described later, but not +over specifically pinned packages. For example, @@ -143,10 +146,11 @@ separated by blank lines. Records can have one of two forms, a specific form and a general form. -The specific form assigns a priority (a "Pin-Priority") to a -specified package and specified version or version range. For example, +The specific form assigns a priority (a "Pin-Priority") to one or more +specified packages and specified version or version range. For example, the following record assigns a high priority to all versions of -the perl package whose version number begins with "5.8". +the perl package whose version number begins with "5.8". +Multiple packages can be separated by spaces. Package: perl @@ -183,7 +187,7 @@ belonging to any distribution whose Archive name is "unstable Package: * Pin: release a=unstable -Pin-Priority: 500 +Pin-Priority: 50 The following record assigns a high priority to all package versions @@ -421,7 +425,7 @@ one or more lines beginning with the word Explanation:. This provides a place for comments. The Pin-Priority: line in each APT preferences record is -optional. If omitted, APT assigs a priority of 1 less than the last value +optional. If omitted, APT assigns a priority of 1 less than the last value specified on a line beginning with Pin-Priority: release ....