Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2004-12-21 22:17:51
Size: 435
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 test ["AptDirectory"]
-----
{{{
man 5 apt_preferences test
Line 9: Line 11:

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