On Sun, 12 Jan 2003 11:12:40 +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote:
> On Sun, Jan 12, 2003 at 06:05:47 +0000, Faheem Mitha wrote:
>> On Fri, 10 Jan 2003 19:04:37 +0100, Vincent Lefevre <[EMAIL PROTECTED]> wrote:
>> > Well, if one could put on hold a particular version of a package
>> > (given by the user), it would be better than nothing. Is there a
>> > way to do this?
>> 
>> Of course. Just put in an entry in /etc/apt/preferences with
>> sufficiently high pin number. Eg. I've put all my X packages on hold
>> because I am running testing but have problems with 4.2. So I have
>> 
>> Package: xfree86-common
>> Pin: version 4.1.0-16
>> Pin-Priority: 1001
>> 
>> etc. etc. See also apt_preferences. HTH.          Faheem.
> 
> No, this won't work. This would put on hold *any* version after
> 4.1.0-16. This is not a particular version.
> 
> I would like something like the opposite: give a low score to some
> version, but I don't know how to do this, because the generic rules
> seem to take the precedence in this case.

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.

I've just read through this thread again, and I'm a little confused as
to what you want. But apt preferences are good things to know about in
any case.

                                                      Faheem.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to