Re: apt and preferences and Ralf's woody packages
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 13 Jan 2003 23:30, Marcus C. Gottwald wrote:
> Paul Cupis wrote (Mon 2003-Jan-13 23:02:13 +0000):
> > Hmmm, firstly, I don't you should use 990 as the 'stable' priority - 990
> > is also used as the manual priority set with the -t option to apt-get.
>
> What is your suggestion instead? I thought that if I give e.g.
> "-t foo", packages from "Debian stable" should be preferred if
> they have a higher version number.
Personally, I use 900 in this case - that way I can use "-t unstable" (or
whatever) to override the default choice of stable/testing/whatever.
e.g.
Package: *
Pin: release stable
Pin-priority: 900
Package: *
Pin: release testing
Pin-priority: 50
Package: *
Pin: release unstable
Pin-priority: 30
With this method, packages from 'stable' are the default. Packages from
testing/unstable are only installed is the package I want to install does not
exist in stable at all. If I want to use a package version from testing, I
can override it's priority to 990 (beating the 900 of stable) with:
apt-get install foo -t testing
I also findit convenient to use apt-show-versions(1) to keep track of updates
to files from different distributions. It is perhaps not so useful at the
moment on a mixed Woody/Sarge system (due to glic differences), but immensely
useful on mixed testing/unstable systems.
Regards,
Paul Cupis
- --
paul@cupis.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE+I1b3IzuKV+SHX/kRAnDPAJ0eNxj5DwzopANVt2YSZ3laEdhdUQCfRocZ
67jq3WN/1x1IsWE2gjmOiYw=
=d6xj
-----END PGP SIGNATURE-----
Reply to: