Red Hat Bugzilla – Bug 451516
package-cleanup AssertionError on gpg-pubkey
Last modified: 2014-01-21 01:10:29 EST
$ rpm -q yum-utils
$ rpm -qa gpg-pubkey
$ package-cleanup --leaves
Setting up yum
Traceback (most recent call last):
File "/usr/bin/package-cleanup", line 449, in <module>
File "/usr/bin/package-cleanup", line 422, in main
File "/usr/bin/package-cleanup", line 235, in listLeaves
File "/usr/bin/package-cleanup", line 214, in _shouldShowLeaf
assert len(pos) == 1
The attached quick and dirty patch fixes it for me.
Created attachment 309388 [details]
Don't barf on gpg-pubkeys
looks like your fix is the right one. I may try to make it a bit more general in
case any other crack gets added into the rpmdb.
but over all thanks
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '8'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 8's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 8 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
I see this patch is already applied in: yum-utils-1.1.18-2.fc10.noarch so this bug can be CLOSED.