Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2004-01-11 21:33:56
Size: 213
Editor: anonymous
Comment:
Revision 5 as of 2004-12-21 22:19:35
Size: 488
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
{{{ man 5 apt_preferences ["AptDirectory"]
-----
{{{
man 5 apt_preferences test
Line 7: Line 9:

An example of /etc/apt/preferences file
{{{
 Package: *
 Pin: release o=Debian,a=testing
 Pin-Priority: 900
}}}
{{{
 Package: *
 Pin: release o=Debian,a=unstable
 Pin-Priority: 300
}}}
{{{
 Package: *
 Pin: release o=Debian
 Pin-Priority: -1
}}}

["?AptDirectory"]


 man 5 apt_preferences test

See also [http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html Apt-Howto] (Section 3.10) and AptPinning. -- StephenHargrove

An example of /etc/apt/preferences file

 Package: *
 Pin: release o=Debian,a=testing
 Pin-Priority: 900

 Package: *
 Pin: release o=Debian,a=unstable
 Pin-Priority: 300

 Package: *
 Pin: release o=Debian
 Pin-Priority: -1