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

Re: [apt] Disabling upgrade to insecure packages



Vincent Lefevre wrote:
On Sun, Jan 12, 2003 at 15:57:04 +0000, Faheem Mitha wrote:

If you want a particular version not to be installed, then give it a
Pin lower than 100 and it will never be installed if there is another
installable version in your sources.


This is what the manual says, but this doesn't work.


The relavent part of the man page is:

Each package may be pinned to a specific version and each Packages file has a priority for every package inside. The
*highest* priority assigned to a package is the one that is used.

So if your default rule pins everything in testing to 900 even if you
pin a specific version to a low number, low number < 900 so 900 is used
for the pin-priority for the package/version.




Reply to: