Bug 189998

Summary: yum installs both x86_64 and noarch versions of a package
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: katzj, shahms
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-24 14:31:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jerry James 2006-04-26 15:28:43 UTC
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):
yum-2.6.0-1

How reproducible:
Always

Steps to Reproduce:
1. On an x86_64 machine, invoke "yum install sabayon-admin"
2.
3.
  
Actual results:
Yum tries to install both the current version and an older, noarch, version of
sabayon-admin.  The latter fails due to missing dependencies.

Expected results:
Yum should install only the current version.

Additional info:

Comment 1 Jeremy Katz 2006-04-26 17:35:56 UTC
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'

Comment 2 Seth Vidal 2006-05-24 05:36:41 UTC
*** Bug 192837 has been marked as a duplicate of this bug. ***

Comment 3 Jeremy Katz 2006-05-24 14:31:32 UTC
And committed to upstream CVS, will be in 2.6.2 and 2.7.0