Bug 18830

Summary: Packagekit: Updates instance has no attribute
Product: PackageKit Reporter: Bojo Recko <bojo.recko>
Component: backend-yumAssignee: Richard Hughes <richard>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Bojo Recko 2008-12-01 00:48:53 UTC
Soon after log-in to KDE I get this error message:

Error Type: &lt;type &apos;exceptions.AttributeError&apos;&gt;
Error Value: Updates instance has no attribute &apos;obsoletes&apos;
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in &lt;module&gt;
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2199, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 599, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 507, in dispatch_command
    self.get_updates(filters)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1735, in get_updates
    ygl = self.yumbase.doPackageLists(pkgnarrow=&apos;obsoletes&apos;)
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 1527, in doPackageLists
    for (pkgtup, instTup) in self.up.getObsoletesTuples():
  File : /usr/lib/python2.5/site-packages/rpmUtils/updates.py, line 568, in getObsoletesTuples
    obslist = self.obsoletes.keys()

This happened immediately after upgrading from Fedora 9 to Fedora 10 using preupgrade utility. Using 2.6.27.5-117.fc10.i686, KDE 4.1.3 on Dell Inspiron 8600.
Comment 1 Richard Hughes 2008-12-01 04:20:04 UTC
Can you please file this in Red Hat bugzilla, under the component yum, and add a link to this bug report please. The yum code should not emit a low level exceptions.AttributeError, and instead emit yum.Errors.RepoError. Thanks.
Comment 2 Bojo Recko 2008-12-02 01:46:12 UTC
(In reply to comment #1)
> Can you please file this in Red Hat bugzilla, under the component yum, and add
> a link to this bug report please. The yum code should not emit a low level
> exceptions.AttributeError, and instead emit yum.Errors.RepoError. Thanks.
> 

Done. Filed under https://bugzilla.redhat.com/show_bug.cgi?id=474106.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.