Bug 18830 - Packagekit: Updates instance has no attribute
Summary: Packagekit: Updates instance has no attribute
Status: RESOLVED NOTOURBUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-yum (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-01 00:48 UTC by Bojo Recko
Modified: 2008-12-02 01:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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

Error Type: <type 'exceptions.AttributeError'>
Error Value: Updates instance has no attribute 'obsoletes'
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in <module>
    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='obsoletes')
  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.