我正在尝试安装 R
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg: keyring `/home/milenko/.gnupg/secring.gpg' created
gpg: keyring `/home/milenko/.gnupg/pubring.gpg' created
gpg: requesting key E084DAB9 from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
这也无济于事
gpg --keyserver keyserver.ubuntu.com:80 --recv-key E084DAB9
gpg: requesting key E084DAB9 from keyserver.ubuntu.com:80
gpgkeys: no keyserver host provided
gpg: keyserver internal error
gpg: keyserver receive failed: keyserver error
我在使用 Ubuntu 16.04。
答案1
这是一个很老的问题,但希望这对某些人有帮助:您需要密钥服务器的协议,例如
gpg --keyserver hkp://keyserver.ubuntu.com --recv-key <ID>