[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How can i remove a 'rpm --import'ed key ?
- From: Panu Matilainen <pmatilai welho com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: How can i remove a 'rpm --import'ed key ?
- Date: Mon, 14 Mar 2005 16:52:57 +0200
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 -
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]