Bug 576593

Summary: I cannot install new software from the Fedora repositories.
Product: [Fedora] Fedora Reporter: Bug Reporter <bugreporter1>
Component: PackageKitAssignee: Richard Hughes <richard>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: jonathan, rhughes, richard, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-24 15:06:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***