Differences between revisions 3 and 4
Revision 3 as of 2004-12-21 22:17:51
Size: 435
Editor: anonymous
Comment:
Revision 4 as of 2004-12-21 22:18:26
Size: 465
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:

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

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