Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just installed my new laptop with ubuntu 12.04 and when I'm trying to add key, there is a "network unreachable" error.

william@ubuntu:~$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
gpg: requesting key CD2EFD2A from hkp server keys.gnupg.net
?: keys.gnupg.net: Network is unreachable
gpgkeys: HTTP fetch error 7: couldn't connect: Network is unreachable
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

I'm so sure the keyserver is not down, because I tried it again at my old laptop running ubuntu 11.04

william@william:~$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
gpg: requesting key CD2EFD2A from hkp server keys.gnupg.net
gpg: key CD2EFD2A: "Percona MySQL Development Team <mysql-dev@percona.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Is this a bug?

share|improve this question
    
The keyserver is reachable from my PC. Sounds like a network problem on your side. –  Vitalie Ciubotaru Jun 19 '12 at 2:28
    
No, my network is fine. Can't you see I have tried it on my old laptop? They are on the same network. –  William Anthony Jun 19 '12 at 2:49
    
@WilliamAnthony from what it looks you already had the key on the old laptop so the key was not processed (read downloaded) and so it didnt give you the error. Well i dont know what is causing the problem but u can try the answer given below. Just find out where the gpg keys are stored and then transfer them to the new laptop. Also it cannot be a bug because adding gpg keys works for others. –  Ashu Jun 19 '12 at 6:24
    
@VitalieCiubotaru how did you check if the keyserver is working. this is just for my info –  Ashu Jun 19 '12 at 6:26
    
I did not say it works. I just said that it's reachable. I pinged it :-) –  Vitalie Ciubotaru Jun 20 '12 at 19:25
add comment

1 Answer

May be off topic for you. Can you add it via Synaptic Package manager.

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.