Red Hat Bugzilla – Bug 108123
rpm segfaulting when trying to repair rpmdb
Last modified: 2007-04-18 12:58:48 EDT
Description of problem:
I just visited http://www.rpm.org/hintskinks/repairdb/ and tried to follow the
instructions to repair my corrupted /var/lib/rpm/Packages.
"rpmdb_dump Packages-OLD | rpmdb_load Packages" gave no errors, but rpm -qa
still showed the same errors (about 100x "error: rpmdbNextIterator: skipping h#
1876 Header V3 DSA signature: BAD, key ID e42d547b") and segfaulted in the end.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -qa or --rebuilddb or whatever!
100x "error: rpmdbNextIterator: skipping h# 1876 Header V3 DSA signature:
BAD, key ID e42d547b"
Hmmm, if you have 100 headers damaged, then you
might want to reinstall, that's a lot of headers
to try to replace.
Can you attach output of
rpm --rebuilddb -vv --nodigest --nosignature
so that I can try to assess what's borked?
This seems to be a duplicate of bug 108064. Not sure if you want to
close this one as such, or whether you are still expecting the
*** This bug has been marked as a duplicate of 108064 ***
Adam, can you still submit the requested log, or did you already
reinstall? No backups?
sorry, I already reinstalled a few months ago (forgot about this
thread). There seem to be no backups left.
The db got probably corrupted because I have had a broken ram module
installed. But even without that module rpm segfaulted when trying to
rebuild the db.
If I ever get the same error again (now using fedora core 1) I'll try
to be a little bit more patient trying to fix it...
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.