Red Hat Bugzilla – Bug 109274
rpm database corrupted, segfault when trying to repair
Last modified: 2007-04-18 12:59:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5)
Description of problem:
Hi, I've made all the steps described there
with no luck...
Also I tried to recover the database using
[root@zenone rpm]# /usr/lib/rpm/rpmdb_dump Packages_ORIG |
[root@zenone rpm]# rpm -qa
error: rpmdbNextIterator: skipping h# 701 Header V3 DSA signature:
BAD, key ID db42a60e
Are there any other procedures to recover the rpm database? The
machine with this problem is a server, and reinstalling is really the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: error: rpmdbNextIterator: skipping h# 701 Header
V3 DSA signature: BAD, key ID db42a60e
If you require it, I have a saved version of a rpm -qa output, before
this problem occurred
Created attachment 95758 [details]
rpm -qa output
No other packages where installed after this last rpm -qa, so this should be an
accurate package snapshot
Try removing (or renaming) /var/lib/rpm/Pubkeys and then
doing rpm --rebuilddb -vv.
Does that fix the segfault?
Yes, thank you, it was the Pubkeys database: removing and then
rebuilding solved the problem.