LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2005, 10:16 AM   #1
Infernal211283
Member
 
Registered: Nov 2004
Location: Mid. East / Israel
Distribution: Slackware 10.2, Gentoo
Posts: 157

Rep: Reputation: 30
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.
 
Old 12-08-2005, 10:20 PM   #2
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
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.
 
Old 12-14-2005, 11:58 AM   #3
Infernal211283
Member
 
Registered: Nov 2004
Location: Mid. East / Israel
Distribution: Slackware 10.2, Gentoo
Posts: 157

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gpg: public key not found verbose Linux - Newbie 4 12-31-2009 03:00 PM
YUM requires public keys, how do I get public keys? GNUROCKS Linux - Newbie 3 05-29-2005 08:50 AM
yum public gpg key?? Niflheim Fedora 1 03-28-2005 01:46 PM
YUM --import public.gpg.key Fredstar Linux - Newbie 8 03-25-2005 06:31 PM
Using GPG without public or private keys darin3200 Linux - Security 3 01-10-2005 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration