Red Hat Bugzilla – Bug 542220
package-cleanup --problems broken on F12
Last modified: 2014-01-21 18:12:56 EST
Description of problem:
Running package-cleanup --problems causes Python error
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run package-cleanup --problems
Loaded plugins: dellsysidplugin2, presto, refresh-packagekit, refresh-updatesd
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__
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
TypeError: unsupported operand type(s) for &: 'str' and 'int'
A report about problem packages
does this happen everytime for you?
Yes, every time. I just upgraded my machine from F11 to F12 2 days ago.
since SOMEthing in there is the source of the problem - can you attach your /var/lib/rpm/Packages file so I can sift it out a bit?
Compressing the file would be good.
Created attachment 374949 [details]
my current /var/lib/rpm/Packages file, compressed to .gz
*** This bug has been marked as a duplicate of bug 541551 ***