Yum Problems, and Apt-Get Problems, Can Anyone help?

Axel Thimm Axel.Thimm at physik.fu-berlin.de
Wed Mar 3 19:24:49 UTC 2004


On Wed, Mar 03, 2004 at 06:41:07PM +0200, Antti Aspinen wrote:
> The next problem is far more serious, the Apt-get gives me this, when I
> am trying to install something.
> 
> W: There are multiple versions of "autoconf213" in your system.
> [... repeated for many other packages ...]
> LOL, :D, if I try apt-get install it gives me same erros, even when
> using upgrade command. so what's the problem and how do I can fix this
> without broking my system to reinstall state?
> 
> I am using 2.6.1 kernel from Arjanv, and my system is basicly allmost
> same as fedora core 1 is. I haven't changed anything big.
> 
> By the way, this is my second time I use Apt-get. Orginaly I used
> Synaptic to update my system, but then it crashed one day and I did have
> to reboot (I was a too fast and I didn't thinked very much about it)
> And then I left it to that state and started using yum and up2date.
> 
> Do I have to remove apt-get(+cache and config files) and then install it
> again? Or do I have to do as I think and do something hard way it.
> because My system is working correctly and I don't evan have need for
> all of those packets.

This is not an apt bug, in fact you should be glad apt detected it.

These packages are indeed double on your system, you can check with

rpm -q autoconf213

apt always checks your installation and reports such errors.

Try the following:

doublepackages=`rpm -qa --qf '%{name}\n' | sort | uniq -d | grep -v ^kernel`
echo $doublepackages

Now doublepackages should contain all packages with multiple instances
but kernel.* packages.

apt-get --reinstall install $doublepackages

should force a new installation and hopefully leave you with one
package per project only.
-- 
Axel.Thimm at physik.fu-berlin.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040303/e57475bf/attachment-0001.sig>


More information about the fedora-list mailing list