Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2004-01-11 21:33:56
Size: 213
Editor: anonymous
Comment:
Revision 3 as of 2004-12-21 22:17:51
Size: 435
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
{{{ man 5 apt_preferences {{{ man 5 apt_preferences test
Line 7: Line 7:

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

{{{ 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