X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/24f6490f4ba3572069619d88e053db5cb07e846c..ecd414ef61a325e8596e6a541696e350cb956753:/doc/apt_preferences.5.xml diff --git a/doc/apt_preferences.5.xml b/doc/apt_preferences.5.xml index db32b800e..162c2f00e 100644 --- a/doc/apt_preferences.5.xml +++ b/doc/apt_preferences.5.xml @@ -9,6 +9,14 @@ + + &apt-author.team; + &apt-email; + &apt-product; + + 29 February 2004 + + apt_preferences 5 @@ -52,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, @@ -135,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 @@ -184,8 +196,8 @@ and whose release Version number is "3.0". Package: * -Pin: release a=unstable, v=3.0 -Pin-Priority: 50 +Pin: release a=stable, v=3.0 +Pin-Priority: 500 @@ -413,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 .... @@ -516,13 +528,11 @@ apt-get install package/unstable See Also - -&apt-get; &apt-cache; &apt-conf; &sources-list; +&apt-get; &apt-cache; &apt-conf; &sources-list; &manbugs; - &manauthor;