Brew安装在gpg-agent上失败?


0

还有另一种获取gpg-agent的方法吗?我需要为RVM进行GPG2签名才能配置服务器。

讯息

bash-4.3$ brew install --vd gnupg2
==> Installing dependencies for gnupg2: gpg-agent, dirmngr, libusb, libusb-compat
==> Installing gnupg2 dependency: gpg-agent
==> Downloading ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2

curl: (28) Connection timed out after 5004 milliseconds
Trying a mirror...
==> Downloading ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2

curl: (7) Failed to connect to ftp.mirrorservice.org port 21: Operation timed out
Error: Failed to download resource "gpg-agent"
Download failed: ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2

不幸的是,没有什么东西能提供更多信息。

Answers:


1

固定于:

$ brew edit gpg-agent
    - mirror "ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2"
    + mirror "http://mirrors.dotsrc.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2"

$ brew install gpg-agent
$ brew install gnupg2

恭喜你弄明白了!请将此答案移至您最初提出的问题。
IconDaemon
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.