安装rvm时网络无法访问
我尝试安装 rvm,但运行以下命令时出现“网络无法访问”:
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
gpg: keyserver receive failed: Network is unreachable
I try to install rvm, but I hit "Network is unreachable" when I run the following command:
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
gpg: keyserver receive failed: Network is unreachable
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我被同样的事情阻止了一个星期。终于找到这个 Reddit 线程,这似乎是迄今为止最简单的解释: https: //www.reddit.com/r/GnuPG/comments/o5tb6a/keyservers_are_gone/ ...切换到
keys.openpgp.org
终于为我工作了。我用谷歌搜索了很多,但最上面的结果没有任何效果。我尝试了不同的主机名,添加
:80
端口规范,在调号上添加0x
前缀,等等。今天终于找到这个线索了。I was blocked by the same thing for a week. Finally finding this Reddit thread, which seems like the simplest explanation so far: https://www.reddit.com/r/GnuPG/comments/o5tb6a/keyservers_are_gone/ ...switching to
keys.openpgp.org
finally worked for me.I had googled a lot and nothing at the top results worked. I tried the different hostnames, adding
:80
port specification, prefixing0x
on the key signatures, and so on. Today I finally found that thread.我也有同样的问题。只是分享我的解决方法,因为接受的答案对我不起作用:
1 - 导出公钥
2 - 使用
https://keys.openpgp.org/upload/submit
的网络界面上传证书我希望这有帮助。
I had the same problem. Just to share how I solved, since accepted answer does not work for me:
1 - export the public key
2 - use the web interface at
https://keys.openpgp.org/upload/submit
to upload the certificateI hope this help.