Bug 17406

Summary: Update window error
Product: PackageKit Reporter: Severin Heiniger <severinheiniger>
Component: backend-aptAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
i915 platform: i915 features:

Description Severin Heiniger 2008-09-02 04:15:18 UTC
I encountered the following error on opening the update window (there are 14 available updates).

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/packagekit/daemonBackend.py", line 111, in run
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/packagekit/aptDBUSBackend.py", line 638, in doGetUpdateDetail
    changelog = self._get_changelog(pkg)
  File "/usr/lib/packagekit/aptDBUSBackend.py", line 1831, in _get_changelog
    "later." % (srcpkg, srcver),
NameError: global name 'srcpkg' is not defined

I'm using PackageKit 0.3.1 installed from the PPA https://launchpad.net/~packagekit/+archive on Ubuntu Intrepid 32 bit.
Comment 1 Richard Hughes 2008-09-02 06:13:38 UTC
I've just fixed this in f057bf5875b42f990afdd140a0377ed8c070c609 -- many thanks for reporting it.

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.