[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:

Hi,

On Sat, Sep 13, 2003 at 01:16:09PM +1000, Alex Kruchkoff wrote:


I'm looking for a help. For some reasons I have 2 public keys for Red Hat in the rpm db:
[...]
I thought I can remove the Red Hat public key and then reinstall it, but


rpm -e gpg-pubkey-db42a60e
error: "gpg-pubkey-db42a60e" specifies multiple packages



Try adding --allmatches, e.g. rpm -e --allmatches gpg-pubkey-db42a60e

It will rmeove both, but you can readd the key afterwards.


Thanks, Axel.

It works, I removed and re-imported RH key from up2date 3.1.23.2-1 but there is still something wrong with my rpm db:

rpm -qa gpg-pubkey*
error: rpmdbNextIterator: skipping h# 1351 Header V3 DSA signature: BAD, key ID db42a60e
Segmentation fault


I did the same with --nosignature:

error: rpmdbNextIterator: skipping h# 128 blob size(3768): BAD, 8 + 16 * il(17) + dl(3456)
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
gpg-pubkey-66534c2b-3e60b428


The key 66534c2b is appearing twice. It's your signature, Axel.

rpm -qi gpg-pubkey-66534c2b
Name : gpg-pubkey Relocations: (not relocateable)
Version : 66534c2b Vendor: (none)
Release : 3e60b428 Build Date: Wed 10 Sep 2003 20:27:02 EST
Install Date: Wed 10 Sep 2003 20:27:02 EST Build Host: localhost
Group : Public Keys Source RPM: (none)
Size : 0 License: pubkey
Signature : (none)
Summary : gpg(ATrpms (rpm signing key) <Axel.Thimm@physik.fu-berlin>)
Description :
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: rpm-4.2 (beecrypt-2.2.0)


mQGiBD5gtCgRBACKIvjMF+20r9k/Uw2Hq6Y/qn1nM0AZEFalhglXP5pMm5bMgkcI1vCWqJxS
bhQhk8hSEenoszes8hyUxHj4hFFUDiRtAxOpCpGCsCnUddgQtHAQd+tmaQsM6J3Jm/EZPtwR
0lvwvRGvz2x6Rr95G8+42KK9x+mBYhLk0y3gAbBzhwCgnkDHa97MGBT7gRLrmtFqiHrWlPkD
/2tBaH6IEuoJhcAbNj9MukbhDOYJ6ic9Nzf6sR3tZG+XgQLLS2DNy8+HWcYJOjpJDEe8zWFD
dUv3cL1D0U2f2e85FuJaMucHn+816iw8mNjZXJEoDE4LJ8Vv53fkevNZpdWmO2VtRwI+woDn
IHYHukDLj2sWhVt+5W+uOKAEOippA/9OzuWrwBtTR+Np8ApZGkxhxU1z0iEStV+kQNqJE7Yo
R4SGMuzEa3bFzrPxk4qIU+rw4YgFgHrs1x08lXxNOZkq6avvbl60HqN2qF2UQL/YdU+5X3ix
aJVaYYk8yuK+hp0Hx2DdBWmVhq6rEzIfpnFhF4qspwMWEiiBGjYDL62W7LQ2QVRycG1zIChy
cG0gc2lnbmluZyBrZXkpIDxBeGVsLlRoaW1tQHBoeXNpay5mdS1iZXJsaW4+iF8EExECAB8F
Aj5gtCgFCQHhM4AECwcDAgMVAgMDFgIBAh4BAheAAAoJEFCM5eZmU0wrHWMAnA9gCXo0txJh
Z5EHPnqdapa/f1cEAJ4/uN1kTE1m769CM4137NewxTwym4hMBBARAgAMBQI+YLSbBYMB4TMN
AAoJEEAVUtRjmpnx2y4An1j/Er2hmMzlriSKFU06AJGHBdLRAKCLg0/df12q52P2VDvkaJcP
cO5XjQ==
=IMsZ
-----END PGP PUBLIC KEY BLOCK-----

I decided to repeat the procedure:

rpm -e --allmatches gpg-pubkey-66534c2b
rpm --nosignature -qa gpg\*
error: rpmdbNextIterator: skipping h# 128 blob size(3768): BAD, 8 + 16 * il(17) + dl(3456)
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


Now your signature is appeared only once, but

rpm -e --allmatches gpg-pubkey-66534c2b
error: package gpg-pubkey-66534c2b is not installed

Any ideas on how to fix my rpm?

Thanks in advance,
Alex Kruchkoff




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