[Centos] Re: I'm gonna kill YUM (mailing list version ;-) )

Wed Jan 19 20:37:02 UTC 2005
Michael Best <mbest at pendragon.org>

Alejandro Reyero wrote:
> Can any one tell me step by step how to delete ALL keys from EVERYWHERE 
> (rpm, gpg…) and re-add them ?? Maybe I’m missing something.

$ man rpm

<...>

For example, all currently imported public keys can be displayed by:

rpm -qa gpg-pubkey*

<...>

Finally,  public keys can be erased after importing just like packages.
Here’s how to remove the Red Hat GPG/DSA key

rpm -e gpg-pubkey-db42a60e

<...>

-Mike