Bug 576596
Summary: | find function broken in Add/Remove Software "ValueError: too many values to unpack" yumBackend.py | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gary Humenuk <OldHardwareDog> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | collura, dan.houw, ffesti, james.antill, jlarrew, jonathan, jtripcevic, korbe, maciekph, maxamillion, pmatilai, rhughes, richard, smparrish, tim.lauridsen |
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-25 23:06:40 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
Gary Humenuk
2010-03-24 15:13:44 UTC
Same problem after same update of yum-3.2.27-1.fc12.noarch on Mar 23. As explained in the forum, "yum downgrade yum" is a workaround. The downgrade remove yum.noarch 0:3.2.27-1.fc12 and re-install yum.noarch 0:3.2.27-1.fc12. Finding packages is then workable again with gnome-packagekit. there is a duplicate bug report filed a few hours earlier: https://bugzilla.redhat.com/show_bug.cgi?id=576451 ps: i also tried a 'yum clean all' just to see, but it didnt help. update of yum-3.2.27-1 introduced a change in function SearchGenerator in file /usr/lib/python2.6/site-packages/yum/__init__.py where a tuple of 3 items is returned to function _do_search in /usr/share/PackageKit/helpers/yum/yumBackend.py which is still expecting a tuple of only 2 items hence the unpacking error. Adding a variable to line 391 "for (pkg, x, inst) in res:" for example will stop the error and allow the search to continue and display the search results. I have the same problem with Packagekit. I tried Jean-Filip Tripcevic's fix and it worked for me with yum-3.2.27-1.fc12.noarch.rpm and, of course, it breaks if I downgrade back to yum-3.2.25-1.fc12.noarch.rpm. Merci Jean-Filip. *** Bug 577031 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 576169 *** yum-3.2.27-2.fc12 fixes this problem for me. Please note, if you added the work around in yumBackend.py you will need to remove it when you update to yum-3.2.27-2.fc12 Thank you all. |