Bug 558797 - package-cleanup --problems crashes
Summary: package-cleanup --problems crashes
Keywords:
Status: CLOSED DUPLICATE of bug 541551
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-26 13:15 UTC by Adam Huffman
Modified: 2014-01-21 23:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-30 11:33:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Huffman 2010-01-26 13:15:25 UTC
Description of problem:
When I run 'package-cleanup --problems' on an F-12 box, it crashes:

package-cleanup --problems
Loaded plugins: fastestmirror, refresh-packagekit
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

How reproducible:
Every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Adam Huffman 2010-01-30 11:33:29 UTC

*** This bug has been marked as a duplicate of bug 541551 ***


Note You need to log in before you can comment on or make changes to this bug.