<refentry>
+ <refentryinfo>
+ &apt-author.team;
+ &apt-email;
+ &apt-product;
+ <!-- The last update date -->
+ <date>29 February 2004</date>
+ </refentryinfo>
+
<refmeta>
<refentrytitle>apt_preferences</refentrytitle>
<manvolnum>5</manvolnum>
which receives a higher priority than other distributions do by default.
The target release can be set on the <command>apt-get</command> command
line or in the APT configuration file <filename>/etc/apt/apt.conf</filename>.
+Note that this has precedence over any general priority you set in the
+<filename>/etc/apt/preferences</filename> file described later, but not
+over specifically pinned packages.
For example,
<programlisting>
and a general form.
<itemizedlist>
<listitem>
-<simpara>The specific form assigns a priority (a "Pin-Priority") to a
-specified package and specified version or version range. For example,
+<simpara>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 <filename>perl</filename> package whose version number begins with "<literal>5.8</literal>".</simpara>
+the <filename>perl</filename> package whose version number begins with "<literal>5.8</literal>".
+Multiple packages can be separated by spaces.</simpara>
<programlisting>
Package: perl
<programlisting>
Package: *
-Pin: release a=unstable, v=3.0
-Pin-Priority: 50
+Pin: release a=stable, v=3.0
+Pin-Priority: 500
</programlisting>
</listitem>
</itemizedlist>
This provides a place for comments.</para>
<para>The <literal>Pin-Priority:</literal> 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 <literal>Pin-Priority: release ...</literal>.</para>
</refsect2>
</refsect1>
<refsect1>
<title>See Also</title>
-<para>
-&apt-get; &apt-cache; &apt-conf; &sources-list;
+<para>&apt-get; &apt-cache; &apt-conf; &sources-list;
</para>
</refsect1>
&manbugs;
- &manauthor;
</refentry>