Bug 137711 - Yum can't install noarch rpm due to py keyerror
Summary: Yum can't install noarch rpm due to py keyerror
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC3Blocker
TreeView+ depends on / blocked
 
Reported: 2004-10-31 06:37 UTC by P Jones
Modified: 2014-01-21 22:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-01 20:13:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description P Jones 2004-10-31 06:37:46 UTC
Description of problem:
Yum can't install noarch rpm due to py keyerror

Version-Release number of selected component (if applicable):
yum-2.1.11-2

How reproducible:
always

Steps to Reproduce:
1.rpm -e selinux-policy-targeted
2.yum install selinux-policy-targeted
  
Actual results:
Setting up Install Process
Setting up Repo:  development
repomd.xml                100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
developmen: ################################################## 3426/3426
Traceback (most recent call last):
  File "/usr/bin/yum", line 8, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 68, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 374, in doCommands
    return self.installPkgs()
  File "/usr/share/yum-cli/cli.py", line 734, in installPkgs
    pkglist = returnBestPackages(toBeInstalled)
  File "/usr/lib/python2.3/site-packages/yum/packages.py", line 123,
in returnBestPackages
    elif rpmUtils.arch.isMultiLibArch(arch=a):
  File "/usr/lib/python2.3/site-packages/rpmUtils/arch.py", line 69,
in isMultiLibArch
    if multilibArches.has_key(arches[arch]):
KeyError: 'noarch'
[root:~] #

Expected results:
Yum to download and install the package.

Additional info:

Comment 1 Seth Vidal 2004-10-31 06:46:37 UTC
it's been fixed upstream

see bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135396

and apply ONLY the final patch that was attached.


Comment 2 Warren Togami 2004-10-31 15:22:25 UTC
CLOSED -> UPSTREAM is bad, it makes this resolution that must be
applied to FC's yum disappear from queries.  REOPENING.


Note You need to log in before you can comment on or make changes to this bug.