Is there another way to get gpg-agent in? I need GPG2 signing for RVM in order to provision a server.

The message

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

Unfortunetly nothing too informative...

1 Answer 1


Fixed with:

$ 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
  • Glad you figured it out! Please move this answer into the question you asked originally.
    – IconDaemon
    Nov 24, 2014 at 22:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .