I have two machines running Karmic. My laptop, which does not exhibit these problems, and my desktop which does.
Problem 1
To reproduce:
1. Open kpackagekit.
2. Enter plasma as a search term and search.
I get the following error:
Problem 2
To reproduce:
1. Attempt to remove the package 'arora'.
Gives the following error:
The obvious error here, is the typo 'rescursive_text' instead of 'recursive_text.'
I've manually corrected it, but I still get errors.
I would like to try reinstalling the package that contains '/usr/share/PackageKit/helpers/apt/aptBackend.py' as that seems to be where the problems are coming from, but I've been unable to find the package that contains it. I've tried the obvious ones like 'python-apt' and 'packagekit-backend-apt' and others, none seem to contain the problem file.
Any help is appreciated, thanks!
-Andy
Problem 1
To reproduce:
1. Open kpackagekit.
2. Enter plasma as a search term and search.
I get the following error:
Error Type: Error Value: sequence item 1: expected string, NoneType found File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1960, in main() File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1957, in main run(args, options.single) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1919, in run backend.dispatcher(args) File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 643, in dispatcher self.dispatch_command(args[0], args[1:]) File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 599, in dispatch_command self.search_name(options, searchterms) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 544, in search_name self._emit_visible_package(filters, pkg) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1606, in _emit_visible_package self._emit_package(pkg, info) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1585, in _emit_package id = self.get_id_from_package(pkg, force_candidate) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1579, in get_id_from_package return get_package_id(pkg.name, version, pkg.architecture, origin) File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 667, in get_package_id return " ".join((name, version, arch, data))
To reproduce:
1. Attempt to remove the package 'arora'.
Gives the following error:
Error Type: Error Value: global name 'rescursive_text' is not defined File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1960, in main() File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1957, in main run(args, options.single) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1919, in run backend.dispatcher(args) File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 632, in dispatcher self.dispatch_command(args[0], args[1:]) File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 529, in dispatch_command self.get_requires(filters, package_ids, recursive) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1298, in get_requires recursive = text_to_bool(rescursive_text)
I've manually corrected it, but I still get errors.
I would like to try reinstalling the package that contains '/usr/share/PackageKit/helpers/apt/aptBackend.py' as that seems to be where the problems are coming from, but I've been unable to find the package that contains it. I've tried the obvious ones like 'python-apt' and 'packagekit-backend-apt' and others, none seem to contain the problem file.
Any help is appreciated, thanks!
-Andy
Comment