Red Hat Bugzilla – Bug 189998
yum installs both x86_64 and noarch versions of a package
Last modified: 2014-01-21 17:54:25 EST
Description of problem:
When a package has been released with both x86_64 and noarch versions, yum tries
to install them both. I first noticed this when "yum install sabayon-admin"
failed. It had tried to install both sabayon-admin-2.12.3-3.x86_64.rpm and the
older sabayon-admin-0.18-1.noarch.rpm. A look through my installed packages
shows that this has happened before without me noticing it: I had both
xmms-skins-1.2.10-13.x86_64.rpm and xmms-skins-1.2.10-15.noarch.rpm installed,
for example. My i386 using friends tell me that this doesn't happen to them, so
it appears to be specific to the x86_64 version of yum.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On an x86_64 machine, invoke "yum install sabayon-admin"
Yum tries to install both the current version and an older, noarch, version of
sabayon-admin. The latter fails due to missing dependencies.
Yum should install only the current version.
Ugh. This is caused by the fact that there are older versions of the packages
still in the tree.
Sending a proposed patch to yum-devel and we'll go from there. Simple
workaround is to do 'yum install sabayon-admin.x86_64'
*** Bug 192837 has been marked as a duplicate of this bug. ***
And committed to upstream CVS, will be in 2.6.2 and 2.7.0