On Mon, 11 Jul 2011 14:25:07 -0300, D G Teed wrote:

> On Fri, Jul 8, 2011 at 6:01 PM, Jochen Schulz <m...@well-adjusted.de>
> wrote:

>> You can use 'apt-cache policy $package' to see which source apt chooses
>> for a given package.
> 
> Thanks for that tip.
> 
> I waited for awhile to see how this worked out in case there was
> something odd with a repo mirror not being in sync.  But the problem
> I've seen remains.
> 
> If I disable the main squeeze repo mirror in source.list:
> 
> #deb http://mirror.its.dal.ca/debian/ squeeze main contrib non-free
> 
> then the update can be found in squeeze-updates:

(...)

>   Version table:
>      0.97.1+dfsg-1~squeeze1 0
>         500 http://mirror.its.dal.ca/debian/ squeeze-updates/main amd64
>         Packages
>  *** 0.97+dfsg-2~squeeze1 0
>         100 /var/lib/dpkg/status

When it comes to priorities, higher numbers win, right?
 
> If I leave the main squeeze mirror (there are none other for plain
> squeeze) in sources.list:

(...)

>   Version table:
>      0.97.1+dfsg-1~squeeze1 0
>         500 http://mirror.its.dal.ca/debian/ squeeze-updates/main amd64
>         Packages
>  *** 0.97+dfsg-2~squeeze1 0
>         990 http://mirror.its.dal.ca/debian/ squeeze/main amd64 Packages
>         100 /var/lib/dpkg/status

(...)

990 has more weight than 500.

JFYI, my volatile repo (I updated clamav just a few days ago) shares the 
same priority that the main repo, that is, 500.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.07.11.17.50...@gmail.com

Reply via email to