Re: How can i remove a 'rpm --import'ed key ?

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

 



On Mon, 2005-03-14 at 15:36 +0100, Matthias Kurz wrote:
> Hi.
> 
> Is there a way to remove particular PGP keys ? When i try to do a
> "rpm -e gpg-pubkey-xxxxxxxx-xxxxxxxx", it reports that there are multiple
> matches. Well, there _where_ multiple matches, because i imported the same
> key several times. But when i do a "rpm --allmatches -e \
> gpg-pubkey-xxxxxxxx-xxxxxxxx", it actually removes _all_ "gpg-pubkey-*"s.
> That means not only gpg-pubkey-xxxxxxxx-xxxxxxxx, but also
> "gpg-pubkey-yyyyyyyy-yyyyyyyy", "gpg-pubkey-zzzzzzzz-zzzzzzzz", ...
> D'oh !

Mm.. works for me:

[root@chip ~]# rpm -q gpg-pubkey|sort
gpg-pubkey-1ac70ce6-41bebeef
gpg-pubkey-30c9ecf8-3f9da3f7
gpg-pubkey-4f2a6fd2-3f9d9d3b
gpg-pubkey-8df56d05-3e828977
gpg-pubkey-8df56d05-3e828977
gpg-pubkey-a109b1ec-3f6e28d5
gpg-pubkey-db42a60e-37ea5438
gpg-pubkey-e42d547b-3960bdf1
[root@chip ~]# rpm -e --allmatches gpg-pubkey-8df56d05-3e828977
[root@chip ~]# rpm -q gpg-pubkey|sort
gpg-pubkey-1ac70ce6-41bebeef
gpg-pubkey-30c9ecf8-3f9da3f7
gpg-pubkey-4f2a6fd2-3f9d9d3b
gpg-pubkey-a109b1ec-3f6e28d5
gpg-pubkey-db42a60e-37ea5438
gpg-pubkey-e42d547b-3960bdf1

	- Panu -

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux