Re: Odd bug with pinning repository

Panu Matilainen <[email protected]> Fri, 8 Apr 2005 11:30:57 +0300 (EEST)
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
On Thu, 7 Apr 2005, Stephen Clouse wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am using apt-0.5.15cnc7 on a Fedora Core 3 box.
>
> I have an internal repository that contains rebuilt distro packages 
> where the standard package doesn't work for us (needs different compile 
> options, etc.)  I have it pinned like this:
>
>  Package: *
>  Pin: release o=apt-internal, c=os-devel
>  Pin-Priority: 1001
>
> But when I do this, apt keeps wanting to downgrade packages that are already at
> the correct version:
>
>  The following packages will be DOWNGRADED
>     cpan2rpm (2.027-4 => 2.027-1)
>     perl-Attribute-Handlers (0.78_01-0 => 0.78_01-0)
>     perl-CPAN (1.76_01-0 => 1.76_01-0)
>     perl-Class-ISA (0.32-0 => 0.32-0)
...

cpan2rpm is a real downgrade-case but the rest ... do the packages you 
have built yourself have a different release number than the ones coming 
from distro? I would guess not - or at least I could imagine something 
like this happening in that scenario.

 	- Panu -