Walt Mankowski on 8 May 2004 02:19:02 -0000


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

Re: [PLUG] How to prevent a particular version of a debian package from upgrading?


On Fri, May 07, 2004 at 10:13:42PM -0400, Tobias DiPasquale wrote:
> - From http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html:
> 
> "Let's take a look at how pin priorities work. A priority lower than 0 
> indicates that the package should never be installed. Priorities 0 to 100 
> denote packages that are not installed and that have no available versions. 
> These won't come into the version-choosing process. Priority 100 is the 
> priority assigned to an installed package - for the installed version of a 
> package to be replaced by a different version, the replacement must have a 
> priority greater than 100."
> 
> So, from reading that, I would think that any package version would have a 
> priority higher than -100. Raise the priority on the pin and it won't try to 
> upgrade. The default is 989 if you don't specify a Pin-Priority line. That 
> should work for you.

But I *don't* want to install version 1:2.1.11-8.  That's why I gave
it a negative priority.

Walt

Attachment: signature.asc
Description: Digital signature