LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-22-2005, 04:09 PM   #1
Linux281651
LQ Newbie
 
Registered: Mar 2005
Location: Indiana
Distribution: Mandriva
Posts: 15

Rep: Reputation: 0
Fixing "Bad Signature" error in RPMDRAKE... Redux


I am using Mdk 9.2
I have read the threads regarding Bad Sigs but have come to a couple of sticking points that I can't overcome...

In a terminal I type " rpm -qa gpg-pubkey " and get:
gpg-pubkey-22458a98-3969e7de
gpg-pubkey-70771ff3-3c8f768f
gpg-pubkey-caba22ae-3cf2c469
gpg-pubkey-22458a98-3969e7de
gpg-pubkey-22458a98-3969e7de
gpg-pubkey-70771ff3-3c8f768f
gpg-pubkey-9b4a4024-3874ddfb

Then I do a series of " rpm -e gpg-pubkey-XXXXX "
I am able to get rid of the keys listed once. When I tried to remove the keys listed multiple times I get the msg:
error: "gpg-pubkey-70771ff3-3c8f768f" specifies multiple packages.

I also went to the mirror sites to download the pubkeys (PLF, secsup) and when I right-click and " save link as... " I am able to save it as a *.asc but it lists as pubkey and not the numerical value of the key...

I need to clean the keys out because anytime I try to rpmdrake install from update or mirror I get the bad signature / missing signature message.

So, How do I download the pubkey properly? How do I clean out the multiple listed keys? How do I import the new pubkeys (assuming I download them right)? Do I need to put the new keys in /etc/RPM-GPG-KEYS/ directory? Do I purge the existing keys from the directory?

I am a newbie who shouldn't be as I have been on linux for about 1.5 years. But things have been going really smooth and I haven't had any major problems aside from this - so I never had to use the command line to a great extent. Next upgrade will be "2005 Limited Edition" and I would hate to have to do something drastic like reinstall at this point in the game.

Thanks in advance for any guidance.
 
Old 03-23-2005, 10:58 AM   #2
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
This should help, scroll down to the heading " How to deal with digital signatures signing RPM packages"

http://qa.mandrakesoft.com/twiki/bin...ndrakeLinuxFAQ

The last line in this article reads "If urpmi suddenly begins to barf about invalid signatures, first check in your /etc/urpmi/urpmi.cfg config file that the key id for the media is the correct one. If this is not the case, just delete the key id."

- In looking at my key id's I see the "key id" line is missing and replaced with the line "ignore" without quotes, (This is on Thac's repository, and i don't get errors with downloading them)

Last edited by Lakota; 03-23-2005 at 11:18 AM.
 
  


Reply



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
"Bad signature" in many rpm packages cpbl Mandriva 5 10-23-2006 06:50 PM
Fixing a "SIOCSIFFLAGS" error without disabling PNP? mixedmemes Linux - Networking 2 08-28-2004 01:10 AM
Rpmdrake 9.2 refuses to install kernel source rpm due to bad signature zegracia Mandriva 14 01-11-2004 06:38 PM
Mplayer (PLF) install gives me "Signature Verfication Error" john_walsh54 Mandriva 16 09-21-2003 04:11 AM
Mplayer (PLF) install gives me "Signature Verfication Error" john_walsh54 Linux - Software 1 09-09-2003 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:54 PM.

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
Open Source Consulting | Domain Registration