Bug 526599

Summary: yum update breaks yum-utils
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: yum-utilsAssignee: Seth Vidal <skvidal>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: james.antill, maxamillion, pmatilai, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-10-01 08:44:55 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 Michal Jaegermann 2009-09-30 23:51:33 UTC
Description of problem:

After an update to yum-3.2.24-2.fc11.noarch at least repoclosure fails with

Traceback (most recent call last):
  File "/usr/bin/repoclosure", line 250, in <module>
    main()
  File "/usr/bin/repoclosure", line 166, in main
    my = RepoClosure(arch = opts.arch, config = opts.config, builddeps = opts.builddeps, pkgonly = opts.pkg)
  File "/usr/bin/repoclosure", line 75, in __init__
    self.doConfigSetup(fn = config,init_plugins=False)
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 192, in doConfigSetup
    return self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 705, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 234, in _getConfig
    arch = self.arch.canonarch
AttributeError: 'list' object has no attribute 'canonarch'

It is true that installing yum-utils-1.1.23-1.fc11 from koji makes this error to  go away and repoclosure works again.  A catch is that this version of yum-utils is not even in updates-testing yet while yum-3.2.24 is already in updates.

Version-Release number of selected component (if applicable):
yum-utils-1.1.22-1.fc11

How reproducible:
always

Comment 1 Tim Lauridsen 2009-10-01 08:44:55 UTC
i have just pushed yum-utils-1.1.23 to updates-testing

so

yum --enablerepo=updates-testing update yum-utils

should fix it