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

Re: apt pinning confusion



On Mon, May 12, 2008 at 01:59:19PM +1000, Jaime Tarrant wrote:
> Alex Samad wrote:
>> On Sun, May 11, 2008 at 11:08:38AM -0700, Todd A. Jacobs wrote:

[snip]

>>>
>>>     Package: *
>>>     Pin: release o=Debian, a=experimental
>>>     Pin-Priority: 550
>>
>> your numbers seem very high my preferences is
>> package: *                                                              
>>                                                                   pin: 
>> release a=unstable                                                      
>>                                                               
>> Pin-Priority: 100                                                       
>>                                                                         
>>                                                                         
>>                                                                         
>>                                                                         
>>                                                       package: *        
>>                                                                         
>>                                                 pin: release 
>> a=experimental                                                          
>>                                                      Pin-Priority: 50   
>>                                                                         
>>                                                

[snip]

>>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a 
>>> subject of "unsubscribe". Trouble? Contact 
>>> listmaster@lists.debian.org
>>>
>>>
>>
>
> The number range -1 thru 1000+ is perfectly acceptable. Excerpt from:
>
> # man 5 apt_preferences
>
> P > 1000
> causes  an  instance  to be installed even if this constitutes a  
> downgrade of the package
>
> 990 < P <=1000
> causes an instance to be installed even if it does not come from
> the target release, unless the installed instance is more recent
>
> 500 < P <=990
> causes an instance to be installed unless there is  an  instance
> available  belonging to the target release or the installed version is  
> more recent
>
> 100 < P <=500
> causes an instance to be installed unless there is  an  instance
> available  belonging to some other distribution or the installed
> version is more recent
>
> 0 <= P <=100
> causes an instance to be installed only if there is no installed
> instance of the package
>
> P < 0  prevents the instance from being installed
>
> -
>
> Hope that helps.
yeah new about that, my meaning was more along the lines of if you are
trying to follow testing then the number he picked might be a bit high
550 for experimental ?
>
> Regards,
> Jaime
>
>
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a 
> subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

-- 
I'd put my money where my mouth is, but my mouth keeps moving.
		-- Larry Wall in <199704051723.JAA28035@wall.org>

Attachment: signature.asc
Description: Digital signature


Reply to: