我刚刚在新笔记本电脑上安装了 ubuntu 12.04,当我尝试添加密钥时,出现“网络不可达”错误。
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
我很确定密钥服务器没有关闭,因为我在运行 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
这是一个错误吗?
答案1
可能与你无关。你可以通过 Synaptic 包管理器添加它吗?