Bug 443913 - cannot install updates
cannot install updates
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: PackageKit (Show other bugs)
rawhide
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:
Environment:
Last Closed: 2008-04-24 10:06:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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>
    backend.update(packages)
  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 
PackageKit-0.1.12-5.20080423.fc9.i386
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:
http://koji.fedoraproject.org/koji/buildinfo?buildID=47072

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.