Bug 443913 - cannot install updates
Summary: cannot install updates
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit   
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F9PKBlocker
TreeView+ depends on / blocked
Reported: 2008-04-24 02:50 UTC by Matthias Clasen
Modified: 2008-04-24 14:06 UTC (History)
3 users (show)

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

Attachments (Terms of Use)

Description Matthias Clasen 2008-04-24 02:50:39 UTC
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 05:11:17 UTC
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 05:16:31 UTC
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 08:39:00 UTC
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 14:06:44 UTC
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.