Cannot add repository key

Posted by William Anthony on Ask Ubuntu See other posts from Ask Ubuntu or by William Anthony
Published on 2012-06-19T01:59:20Z Indexed on 2012/06/19 3:23 UTC
Read the original article Hit count: 490

Filed under:

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 <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Is this a bug?

© Ask Ubuntu or respective owner

Related posts about 12.04