LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-31-2009, 11:59 AM   #1
pr5439
Member
 
Registered: Sep 2008
Location: India
Distribution: ubuntu 8.04
Posts: 33

Rep: Reputation: 15
GPG error, no public key


hi, i earlier had used ubuntu 8.04 earlier, but after upgrade to 8.10, some startup problems occured, so i uninstalled it.
after few months when i m again using 8.04 nd i m getting some problems like:
i) vlc 0.9.2 was not getting installed by apt-get way, although i typed following in the terminal:
Quote:
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
&
Quote:
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - && sudo apt-get update
all i m getiing the message is vlc 0.8.6e is the latest version available, although i used 0.9.2 earlier the same way.

ii)system update always leaves following error:
Quote:
GPG error: http://ppa.launchpad.net hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 71346C8340130828
any help in these matters are are extremely appreciated.......
 
Old 07-31-2009, 12:09 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
I'm not sure of the ins & outs of apt-get, nor how exactly it works as far as keys goes, but perhaps if you manually import the key yourself, it would solve the problem?

Try in a console as root:

gpg --recv-keys 71346C8340130828

.. and then try getting the package(s) you are having trouble with.

Hope this helps for the meantime, until/unless someone can explain exactly why this is happening for you..

Sasha

PS - you can truncate the first bunch of characters off of that key if you like; gpg only needs the last EIGHT characters to identify the key.

Last edited by GrapefruiTgirl; 07-31-2009 at 12:11 PM. Reason: added PS
 
Old 07-31-2009, 12:28 PM   #3
pr5439
Member
 
Registered: Sep 2008
Location: India
Distribution: ubuntu 8.04
Posts: 33

Original Poster
Rep: Reputation: 15
thanks GrapefruiTgirl for reply, i tried your way but i got following error
Quote:
root@priyaranjan-laptop:~# gpg --recv-keys 71346C8340130828
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: no keyserver known (use option --keyserver)
gpg: keyserver receive failed: bad URI
the above was with update manager still on( i m editing my post now). with update manager closed, the key was retrieved, although i dont remember the exact output at that moment, but doing the same again i get the output as:

Quote:
root@priyaranjan-laptop:~# gpg --recv-keys 71346C8340130828
gpg: requesting key 40130828 from hkp server subkeys.pgp.net
gpg: key 40130828: "Launchpad PPA for Christoph Korn" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
but the strange thing is, again on updating the update manager, the errors are same, i have no idea as to what does it mean....

any way thanks......

Last edited by pr5439; 08-01-2009 at 07:08 AM.
 
Old 08-06-2009, 11:30 AM   #4
brjoon1021
Member
 
Registered: Dec 2003
Posts: 173

Rep: Reputation: 16
You are going to love this:

http://webupd8.blogspot.com/2009/05/...y-install.html
 
Old 08-07-2009, 07:27 AM   #5
pr5439
Member
 
Registered: Sep 2008
Location: India
Distribution: ubuntu 8.04
Posts: 33

Original Poster
Rep: Reputation: 15
thanks brjoon1021, but the link does no change in the error, it remains same as it was
 
Old 08-07-2009, 09:08 AM   #6
brjoon1021
Member
 
Registered: Dec 2003
Posts: 173

Rep: Reputation: 16
You are sure that the script ran in a terminal and displayed the fact that it found all of the keys ?
 
Old 08-08-2009, 06:14 AM   #7
pr5439
Member
 
Registered: Sep 2008
Location: India
Distribution: ubuntu 8.04
Posts: 33

Original Poster
Rep: Reputation: 15
sorry, my mistake, the gpg errors got solved magically by that link, must be a network problem earlier. thanks..
may b i m expecting a lot, does anyone anyone has the vlc solution i've posted earlier?
 
Old 08-08-2009, 12:24 PM   #8
brjoon1021
Member
 
Registered: Dec 2003
Posts: 173

Rep: Reputation: 16
not specifically, but PPAs are a pain in the butt. I have had them change the keys on me for no reason and then updates spit out the no signing key error. Just google for VLC PPA and then download the signing key. It is a guy's name if I remember that one correctly then open synaptic, go to authentication and look for that same key. Assuming that you already have it, but that it is old, you can delete it and then import the new one that you just downloaded. You should be good. That script worked for you, then... I thought it was awesome. I have 9 or ten PPAs and it found them all on my last install, but I can get it to do crap for me now for some reason.
 
Old 08-12-2009, 10:32 AM   #9
pr5439
Member
 
Registered: Sep 2008
Location: India
Distribution: ubuntu 8.04
Posts: 33

Original Poster
Rep: Reputation: 15
yup, u were right, i checked the launchpad for vlc here, the source list lines were different from actually what i had been using, i changed those and it worked.
Thanks all.
 
  


Reply

Tags
error, gpg, vlc



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
Revoking GPG key with only passphrase and public key djib Linux - Security 2 03-13-2007 03:20 AM
public.gpg.key: import read failed error ynbfung Linux - Software 2 05-02-2006 01:46 PM
yum public gpg key?? Niflheim Fedora 1 03-28-2005 01:46 PM
GPG Data, Secret Key but no Public Key? Aeiri Linux - Software 5 07-20-2004 06:00 PM

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

All times are GMT -5. The time now is 10:28 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
Open Source Consulting | Domain Registration