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

Re: Pinning question



On Tue, 16 Sep 2003 11:29:49 +0100, you wrote:

>On Mon, 15 Sep 2003 14:24:54 -0600 Ryan Walters wrote:
>> Hi, I've been trying to figure this out for a few days now, and can't
>> seem to get it to work.   I want to pin not based on [stable, testing,
>> unstable], but based on distribution release, in my case, [woody,
>> potato].
>> ...
>> /etc/apt/preferences:
>> 
>> Package: *
>> Pin: release potato
>> Pin-Priority: 800
>> 
>> Package: *
>> Pin: release woody
>> Pin-Priority: 200
>> 
>> This however didn't change anything, it still wanted to take all the
>> woody versions of packages, the same as before the preferences file
>> existed.
>
>Try pinning woody below 100.

I had tried that too, but since the apt/preferences file doesn't seem
to have any effect, changing the pinning number doesn't do anything
either.  I think the above example is wrong anyway, would end up
matching on 'l=', which in this case is always "Debian".  However,
using 'v=' should work ok, but again, doesn't seem to do anything at
all, regardless of pin numbers.



Reply to: