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

Bug#587279: debian-policy: section 2.2.1 needs some tweaking



On Tue, 13 Mar 2012, Wouter Verhelst wrote:
> No, that's not correct. If a package is already installed but a newever
> version is available, then this will be upgraded if the priority is 1.
> It just won't be selected for installation automatically.
> 
> This is how experimental works: packages in experimental have priority
> 1, so won't be installed automatically; but the will be upgraded if
> needs be.

I'm sorry but Carsten is right. I routinely add the snippet below
precisely because packages installed from experimental are not upgraded
from experimental without it.

Package: *
Pin: release experimental
Pin-Priority: 150

And it's also the reason why APT now supports a "ButAutomaticUpgrades: yes"
field to complement the "NotAutomatic: yes" field. The result is to have a
priority of 100 instead of 1 (backports.debian.org uses it).

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Pre-order a copy of the Debian Administrator's Handbook and help
liberate it: http://debian-handbook.info/liberation/



Reply to: