Bug 576593 - I cannot install new software from the Fedora repositories.
Summary: I cannot install new software from the Fedora repositories.
Keywords:
Status: CLOSED DUPLICATE of bug 576169
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-24 15:00 UTC by Bug Reporter
Modified: 2010-03-24 15:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-24 15:06:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bug Reporter 2010-03-24 15:00:57 UTC
Description of problem:
Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 391, in _do_search
    for (pkg, inst) in res:
ValueError: too many values to unpack

Version-Release number of selected component (if applicable):


How reproducible:
It is possible to install packages, but not single programmes through the search line, like e.g. "Audacity" and others.

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Traceback (most recent call last):
  File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 391, in _do_search
    for (pkg, inst) in res:
ValueError: too many values to unpack

Expected results:
It should show the respective software

Additional info (lines 385ff in /usr/share/PackageKit/helpers/yum/yumBackend.py:
  # return, as we only want collection objects
        if FILTER_COLLECTIONS not in fltlist:
            installed = []
            available = []
            try:
                res = self.yumbase.searchGenerator(searchlist, values)
                for (pkg, inst) in res:
                    if pkg.repo.id == 'installed':
                        installed.append(pkg)
                    else:
                        available.append(pkg)
            except yum.Errors.RepoError, e:
                raise PkError(ERROR_NO_CACHE, "failed to use search generator: %s" %_to_unicode(e))
            except Exception, e:
                raise PkError(ERROR_INTERNAL_ERROR, _format_str(traceback.format_exc()))

Comment 1 Richard Hughes 2010-03-24 15:06:56 UTC

*** This bug has been marked as a duplicate of bug 576169 ***


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