Re: Issues with apt-get

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

 



On Fri, 2004-03-12 at 14:47, Tim Harris wrote:
> Mark Limburg wrote:
> 
> >Howdy guys,
> >
> >I went to do an apt-get upgrade this morning and got this ..
> >
> >  W: There are multiple versions of "gpg-pubkey" in your system.
> > 
> >  This package won't be cleanly updated, unless you leave
> >  only one version. To leave multiple versions installed,
> >  you may remove that warning by setting the following
> >  option in your configuration file:
> > 
> >  RPM::Allow-Duplicated { "^gpg-pubkey$"; };
> > 
> >  To disable these warnings completely set:
> > 
> >  RPM::Allow-Duplicated-Warning "false";
> >
> >Haven't seen this before .. any ideas how I can clean this up?
> >
> >MWL
> >
> >  
> >
> Do an rpm query like this:
> rpm -q gpg-pubkey
> This will show two version of this app. Uninstall the older version like 
> this:
> rpm -ev gpg-pubkey-xxxxxx.
> You can uninstall versions of an rpm with the "v" switch.
> If you have multiple duplicates please see an earlier thread where 
> someone discribed a script to remove the duplicates with apt-get.

No no.. gpg-pubkey's aren't packages even if they show up in the list,
and it's totally ok (and even expected) that you have multiple of them.
The right thing to do is what apt suggests you to do: add this to
/etc/apt/apt.conf:
RPM::Allow-Duplicated { "^gpg-pubkey$"; }; 

Or even better, since gpg-pubkey's can't be installed or upgraded or
anything like that via apt it's better to make apt ignore them
completely:
RPM::Ignore:: "gpg-pubkey";

	- Panu -




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux