Description of problem: corrupt rpm database
Version-Release number of selected component (if applicable):
I did everything that it said to do at http://www.rpm.org/hintskinks/repairdb/
ending with 'rpm -qa'. I still get 'segmentation fault'
these are the faults:
error: rpmdbNextIterator: skipping h# 109 blob size(3772): BAD, 8 + 16 *
il(17) + dl(3460)
error: rpmdbNextIterator: skipping h# 304 blob size(2268): BAD, 8 + 16 *
il(17) + dl(1956)
error: rpmdbNextIterator: skipping h# 650 Header V3 DSA signature: BAD, key
error: rpmdbNextIterator: skipping h# 651 Header V3 DSA signature: BAD, key
error: rpmdbNextIterator: skipping h# 652 Header V3 DSA signature: BAD, key
error: rpmdbNextIterator: skipping h# 653 Header V3 DSA signature: BAD, key
These seem to to be all of them, some of them more than once.
I have exactly the same problem, and have also tried everything described on
repairdb with no success
I've also got this problem. Using the "--nosignature" option for RPM
sometimes lets a transaction complete, but not reliably, and I see
deadlocks as well as segfaults.
I think I have a recent backup of my rpm database from before it
became corrupt - if that turns out to be the case and having some
"before and after" data would help with debugging, let me know and
I'll provide both databases for download. I'm seeing these errors
with a 4.2.1 rpm from rawhide now, but I first experienced them with
an rpm 4.2 build from http://atrpms.physik.fu-berlin.de/
One person per bug please, or I will go bonkers ;-)
phaedrus: Can you try
rm -f /var/lib/rpm/__db*
rm -f /var/lib/rpm/Pubkeys
rpm --rebuilddb -vv
Bug 108123 appears to be a duplicate of this one.
*** Bug 108123 has been marked as a duplicate of this bug. ***
I am also having difficulty with my rpm database. After performing
rm -rf /var/lib/rpm/__db*
rpm --rebuilddb -vv
Everything seems to run ok for a little while before I get:
D: read h# 221 Header V3 DSA signature: NOKEY, key ID db42a60e
D: +++ h# 546 Header V3 DSA signature: NOKEY, key ID db42a60e
D: adding "tetex-afm" to Name index.
D: adding 309 entries to Basenames index.
RH9 Linux 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386
I should add that I have rpm-4.2-1
Ok, problem solved: my motherboard fried (capacitors turn a nice
shade of turquoise). Upgraded PS, MB, CPU, RAM, and OS (FC2).
Not the way I would have preferred to handle it.... :(
Initial bug likely to be dangling pointer (bug #107835)
Since there are insufficient details provided in this report for us to
investigate the issue further, and we have not received the feedback we
requested, we will assume the problem was not reproduceable or has been fixed in
a later update for this product. If you have further details, feel free to
reopen the report with the additional details attached.