Apt PackageKit backend throws error when unmet dependencies are encountered

Bug #418834 reported by Jonathan Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
packagekit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: packagekit

To reproduce:
-Install iceweasel-vimperator with KPackagekit

The iceweasel-vimperator package is a broken package, having unsatisfiable dependencies. The apt PackageKit backend seems to not care for this too much:

Excuse the all-in-one-line-ness of the traceback, KPackageKit makes the error lose it's formatting.

Error Type: Error Value: not enough arguments for format string File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1941, in main() File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1938, in main run(args, options.single) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1900, in run backend.dispatcher(args) File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 636, in dispatcher self.dispatch_command(args[0], args[1:]) File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 511, in dispatch_command self.get_depends(filters, package_ids, recursive) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1367, in get_depends "Dependecies for $s cannot be satisfied: $s" $ e)

In addition, it misspells "Dependencies" in the last line of the traceback, though that's really a separate issue and not too major at that.

Related branches

summary: - Apt PackageKit backend crashes when unmet dependencies are encountered
+ Apt PackageKit backend throws error when unmet dependencies are
+ encountered
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package packagekit - 0.4.9+20090825-0ubuntu2

---------------
packagekit (0.4.9+20090825-0ubuntu2) karmic; urgency=low

  * debian/patches:
    - Add disable_werror: Unset the Werror compile flag to fix FTBS on armel
    - Add fix_get_depends: Cherry pick fa693068675742e17177534a23feb627b9ab7455
      to report the broken packages correctly in get_(depends|requires)
      (LP: #418834)
    - Add fix_unset_locale: Cherry pick 42c8fda9e0b3d4109b70035027562fa90b3471be
      to not fail on unsetting LC_ALL (LP: #420348)

 -- Sebastian Heinlein <email address hidden> Sat, 29 Aug 2009 09:23:42 +0200

Changed in packagekit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.