[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get -t, the real story



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 31 August 2002 07:54, Ian Zimmerman wrote:

> No matter what I do, I can't make apt prefer a security-fixed version
> from stable over a later (yet unfixed) version from testing.  I have
> to either just wget the debs bypassing apt, or temporarily edit out
> the testing sources.

Just create the file /etc/apt/preferences containing:

Package: *
Pin: release l=Debian-Security
Pin-Priority: 999

This will cause apt to prefer the security version of any program it upgrades. 
If you want to switch to the secure version when you have already installed 
the testing/unstable version, just change the number above to 1001 while you 
do an apt-get upgrade.

Read apt_preferences(5) for more information.

Paul Cupis
- -- 
paul@cupis.co.uk

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9cMc6IzuKV+SHX/kRAv7JAJ0YTwgaEhYLh/IWUbjdkCqBGkZvvACfbBIv
VhVjJJTPmh4OS8Z/G/LOVW4=
=63kt
-----END PGP SIGNATURE-----



Reply to: