Bug 443913 - cannot install updates
cannot install updates
Product: Fedora
Classification: Fedora
Component: PackageKit (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Robin Norwood
Fedora Extras Quality Assurance
Depends On:
Blocks: F9PKBlocker
  Show dependency treegraph
Reported: 2008-04-23 22:50 EDT by Matthias Clasen
Modified: 2008-04-24 10:06 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-24 10:06:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthias Clasen 2008-04-23 22:50:39 EDT
Installing updates individually from gpk-update-viewer fails with the following
error message:

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 
Comment 1 Luke Macken 2008-04-24 01:11:17 EDT
Do you happen to have the package id of the update that triggered the exception,
or pkmon output?
Comment 2 Matthias Clasen 2008-04-24 01:16:31 EDT
No, sorry

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
Comment 3 Richard Hughes 2008-04-24 04:39:00 EDT
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.
Comment 4 Robin Norwood 2008-04-24 10:06:44 EDT
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"

Note You need to log in before you can comment on or make changes to this bug.