Bug 542220 - package-cleanup --problems broken on F12
Summary: package-cleanup --problems broken on F12
Keywords:
Status: CLOSED DUPLICATE of bug 541551
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 12
Hardware: i386
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: 2009-11-28 22:30 UTC by alexp
Modified: 2014-01-21 23:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-01 15:16:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
my current /var/lib/rpm/Packages file, compressed to .gz (43 bytes, text/plain)
2009-12-01 03:00 UTC, alexp
no flags Details

Description alexp 2009-11-28 22:30:03 UTC
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:

Comment 1 seth vidal 2009-11-30 20:20:43 UTC
does this happen everytime for you?

Comment 2 alexp 2009-11-30 21:20:07 UTC
Yes, every time. I just upgraded my machine from F11 to F12 2 days ago.

Comment 3 seth vidal 2009-11-30 21:26:19 UTC
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

Comment 4 alexp 2009-12-01 03:00:47 UTC
Created attachment 374949 [details]
my current /var/lib/rpm/Packages file, compressed to .gz

Comment 5 James Antill 2009-12-01 15:16:48 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.