Comment 2 for bug 546607

Revision history for this message
Octavian Voicu (octavian-voicu) wrote :

The bug is in /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1498. In case of an error, format_string is used to display a message but error.message is not a string but an exceptions.SystemError object.

Attached patch should fix this (packagekit-backend-apt.patch).

There is also a related bug in /usr/share/pyshared/packagekit/backend.py, in function format_string. When called with a non-unicode parameter, it should convert it to unicode but doesn't because of a typo.

I'll attach another patch for this (python-packagekit.patch).