Red Hat Bugzilla – Bug 443913
cannot install updates
Last modified: 2008-04-24 10:06:44 EDT
Installing updates individually from gpk-update-viewer fails with the following
An internal system error has occurred
A problem that we were not expecting has occurred.
Please report this bug with the error description.
Error Type: <type 'exceptions.ValueError'>
Error Value: too many values to unpack
File : /usr/share/PackageKit/helpers/yum/update.py , line 19, in <module>
File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 963, in update
pkg,inst = self._findPackage(package)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py , line 625, in _findPackage
(n,idver,a,d) = self.get_package_from_id(id)
This is with
Do you happen to have the package id of the update that triggered the exception,
or pkmon output?
And I've meanwhile updated the system, so it won't be easy to reproduce. But I
can tell you that I had 13 updates, and they were all f9-final stuff from the
last 1 or 2 days
I've fixed this in stable yesterday: 5b1f60980c440a73a5498fd22420bfdc7ebc95bb
It was a thinko on my part - I've added a ton of self tests to catch stuff like
this in the future. I'll build a new package for koji and F9.
This is fixed for me with this build:
Luke, FYI, this was a fun little bug - the PK daemon was sending update.py the
packages all as one argument, like:
./update.py "foo;version;arch;repo bar;version;arch;repo"
instead of each package as one arg, like:
./update.py "foo;version;arch;repo" "bar;version;arch;repo"