Description of problem: Running package-cleanup --problems causes Python error Version-Release number of selected component (if applicable): 1.1.24-2.fc12 How reproducible: always Steps to Reproduce: 1. run package-cleanup --problems 2. 3. Actual results: 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__ 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' Expected results: A report about problem packages Additional info:
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. thanks
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 ***