![无法添加存储库密钥](https://linux22.com/image/1110360/%E6%97%A0%E6%B3%95%E6%B7%BB%E5%8A%A0%E5%AD%98%E5%82%A8%E5%BA%93%E5%AF%86%E9%92%A5.png)
我刚刚在新笔记本电脑上安装了 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 包管理器添加它吗?