Re: pinning and groups of related packages
On Wed, Dec 28, 2005 at 09:15:32PM +0100, Norbert Tretkowski wrote:
> Wrong. If you installed a package with 'apt-get -t sarge-backports
> install foo', you'll get updates from backports.org for that package
> with just running 'apt-get upgrade'.
> I couldn't believe it myself, but I tested it last weekend, and it
> worked. :-)
Yeah, the point is that since the version you have installed has priority 200
(the backports.org default priority in your apt preferences), and the new
version has the same priority but a higher version number, it's going to be
upgraded... The upgrade doesn't happen only for packages whose higher version
has a lower priority, or for new packages, choosing the version of whom the
higher priority wins...
Of course as per the apt documentation if the priority of a version is high
enough (>1000 if I remember correctly) then a downgrade will be proposed, which
otherwise won't happend!