LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm gpg public keys removal (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-gpg-public-keys-removal-390175/)

Infernal211283 12-07-2005 10:16 AM

rpm gpg public keys removal
 
Hi,

I've imported a public key twice and now i would like to remove one of them or both to import again only once, but it won't let me, what can i do?

-----------------
[infernal@Fedora downloads]$ rpm -qa gpg-pub*
gpg-pubkey-4f2a6fd2-3f9d9d3b
gpg-pubkey-66534c2b-438550fd
gpg-pubkey-db42a60e-37ea5438
gpg-pubkey-66534c2b-438550fd
[infernal@Fedora downloads]$ rpm -e gpg-pubkey-665*
error: "gpg-pubkey-665*" specifies multiple packages
[infernal@Fedora downloads]$ sudo rpm -e gpg-pubkey-66534c2b-438550fd
error: "gpg-pubkey-66534c2b-438550fd" specifies multiple packages
-----------------

Using fedora core 4.

Thank You.

lord-fu 12-08-2005 10:20 PM

Quote:

now i would like to remove one of them or both
what you are doing below is incorrect for file removal
Code:

[infernal@Fedora downloads]$ rpm -e gpg-pubkey-665*
error: "gpg-pubkey-665*" specifies multiple packages

you need to
Code:

rm gpg-pubkey-665*
hope that helps.

Infernal211283 12-14-2005 11:58 AM

nah...
i meant i want to remove the key after it was imported already
the syntax is: rpm -e <gpg-key>


All times are GMT -5. The time now is 04:03 PM.