[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to remove the second public key?



Axel Thimm wrote:

On Sun, Sep 14, 2003 at 07:27:45PM +1000, Alex Kruchkoff wrote:


http://www.rpm.org/hintskinks/repairdb/


1. rebuilddb is the 1st thing I tried (before posting my problem). I just run strace on it - it died with



Did you remove the __db* files before that?


I didn't see __db* files for quite a long time. Probably since I upgraded to rpm-4.2-1_14.rh9.at

write(2, "========== ??? pubkey id 90100a4"..., 42========== ??? pubkey id 90100a4040d10940
) = 42
+++ killed by SIGSEGV +++


And below are all my signatures:

rpm --nosignature -qa gpg\*
error: rpmdbNextIterator: skipping h# 128 blob size(3768): BAD, 8 + 16 * il(17) + dl(3456)
gpg-pubkey-66534c2b-3e60b428
gpg-pubkey-72de25fe-3b79e9fe
gpg-pubkey-db42a60e-37ea5438
gpg-pubkey-c431416d-3db4c821
error: rpmdbNextIterator: skipping h# 117 blob size(3192): BAD, 8 + 16 * il(17) + dl(3456)
gpg-pubkey-66534c2b-3e60b428
gpg-pubkey-897da07a-3c979a7f



The 90100a4 seems to be missing in this list, and seems to cause the problem.

Not really, but I would simply remove all signatures (and retry
repairing) to see whether the problem is signature related or not. Try

rpm -e --allmatches gpg-pubkey

the only signature left after this was your.

rm -f /var/lib/rpm/__db*

I don't have such files, so there is nothing to remove.

rpm --rebuilddb

rpm db repaired!!! :)))

I've reimported all signatures and everything is working. Thanks a lot.

Just to summarise: removing all signatures with --allmatches and rebuilding the db did the trick.

Thank you very much Axel.

Cheers
Alex Kruchkoff




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]