PDA

View Full Version : yum - wants to upgrade both 32bit and 64bit packages



Vansolrick
1st August 2007, 09:59 AM
I just did a new, fresh install of Fedora from the x86_64 KDE live cd. When I do yum upgrade it seems to want to install duplicate i386 packages. Is there a way to restrict yum to only allow 64bit packages?

In other words, pretend I was upgrading VLC. It would try and upgrade/install VLC.x86_64 and VLC.i386 even though I only have and want the 64bit VLC.

Seve
1st August 2007, 01:33 PM
Hello:
Third party applications such as vlc, won't be affected by installing / updating 32 bit rpm's unless you specifically include those 32 bit repos.
However, due to dependency requirements of the the individual rpm it may call for package X, which will not distinguish between 32 and 64 bit, which may lead to installing some 32 bit packages as well.

By default the 64bit version has mult-lib support. Which covers the fedora, fedora-updates etc. repo's.
http://docs.fedoraproject.org/release-notes/f7/en_US/sn-ArchSpecific.html#sn-rpm-multiarch

You can restrict yum from selecting i.386 packages if you like.
See here for more information.
Multilib Options (http://www.mjmwired.net/resources/mjm-fedora-fc6-64.html#multilib)

Seve

Vansolrick
1st August 2007, 07:22 PM
Thanks for the help :)