Bug 541551
| Summary: | package-cleanup: unsupported operand type(s) for &: 'str' and 'int' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sebastian Vahl <fedora> |
| Component: | yum-utils | Assignee: | Seth Vidal <skvidal> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | alexp, bloch, james.antill, martin.nad89, maxamillion, pmatilai, swsnyder, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.1.25-1.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-12-01 18:00:00 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: | |||
This should now be fixed in the upstream commit: http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=5ef519442e401564d93e8695f42f3014f6712d4c *** Bug 542220 has been marked as a duplicate of this bug. *** (In reply to comment #1) > This should now be fixed in the upstream commit: > > http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=5ef519442e401564d93e8695f42f3014f6712d4c Confirmed. Thanks. *** Bug 539580 has been marked as a duplicate of this bug. *** yum-utils-1.1.25-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/yum-utils-1.1.25-1.fc12 *** Bug 558797 has been marked as a duplicate of this bug. *** yum-utils-1.1.25-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: "package-cleanup --problems" fails with this traceback: Loaded plugins: dellsysidplugin2, fastestmirror, presto, refresh-packagekit, upgrade-helper, versionlock Traceback (most recent call last): File "/usr/bin/package-cleanup", line 382, in <module> util = PackageCleanup() File "/usr/bin/package-cleanup", line 58, in __init__ self.main() File "/usr/bin/package-cleanup", line 309, in main issues = self._find_missing_deps(self.rpmdb.returnPackages()) File "/usr/bin/package-cleanup", line 137, in _find_missing_deps missing = miscutils.formatRequire(req,ver,flags) File "/usr/lib/python2.6/site-packages/rpmUtils/miscutils.py", line 350, in formatRequire rpm.RPMSENSE_EQUAL): TypeError: unsupported operand type(s) for &: 'str' and 'int' Version-Release number of selected component (if applicable): yum-utils-1.1.24-2.fc12.noarch yum-3.2.25-1.fc12.noarch How reproducible: ever Steps to Reproduce: 1. run 'package-cleanup --problems' Actual results: traceback Expected results: no traceback Additional info: "--help", "--dupes" and "--leaves" are working fine.