Le 12/03/2012 13:44, Wouter Verhelst a écrit : > On Sat, Feb 25, 2012 at 01:56:17AM +0100, Carsten Hey wrote:
>> […] how a possible mechanism to let users choose between "always prefer >> free packages" and "follow the maintainer's recommendation, even it >> a non-free package is preferred" could look like. > > That's easy: > > Package: * > Pin: release c=non-free > Pin-Priority: 1 > > in a file in /etc/apt/preferences.d/ Please, don't provide such advice: that won't allow a non-free package to be updated automatically during a stable or security update. Please prefer using at least 100. Anyway, “The APT preferences file does not affect the choice of instance, only the choice of version.” according to apt_preferences(5). Regards David
signature.asc
Description: OpenPGP digital signature