Bug 22655 - some internal error when trying to install updates
Summary: some internal error when trying to install updates
Alias: None
Product: PackageKit
Classification: Unclassified
Component: backend-apt (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Richard Hughes
QA Contact:
Depends on:
Reported: 2009-07-07 03:55 UTC by Ivan Masár
Modified: 2014-02-14 10:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Ivan Masár 2009-07-07 03:55:05 UTC
After I press "Show updates" in the viewer I get Update viewer with 1 blocked update (it's 1 held package saying "mail-notification-5.4.dfsg.1-1build1 (None)") and a modal dialog "An internal error has occurred" with following details.

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/packagekit/daemonBackend.py", line 109, in run
  File "/usr/lib/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/packagekit/aptDBUSBackend.py", line 796, in doGetUpdateDetail
    changelog = self._get_changelog(pkg)
  File "/usr/lib/packagekit/aptDBUSBackend.py", line 1961, in _get_changelog
    if pkg.candidateOrigin[0].origin == "Debian":
TypeError: 'NoneType' object is unsubscriptable

I'm on Ubuntu 9.04:
$ dpkg -l '*packagekit*'
ii  libpackagekit-glib11      0.3.14-0ubuntu5           Library for accessing PackageKit using GLib
ii  packagekit                0.3.14-0ubuntu5           provides a software installation daemon
ii  packagekit-backend-apt    0.3.14-0ubuntu5           APT backend for packagekit
un  packagekit-backend-smart  <none>                    (no description available)
ii  packagekit-gnome          0.3.13-0ubuntu1           graphical distribution neutral software management tools
ii  python-packagekit         0.3.14-0ubuntu5           PackageKit Python bindings
Comment 1 Jean-François Fortin Tam 2012-01-05 10:42:55 UTC
Hi there,
This bug report is very old and based on a version not supported anymore. By upgrading to a newer version of PackageKit you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of PackageKit.
Please feel free to reopen this bug if the problem still occurs with the latest version.

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.