Error on install - apt-key, invalid argument

I must be missing something obvious here, but I can’t seem to pin it down.

In following the Ubuntu install directions, the first command fails for me:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
Executing: /tmp/apt-key-gpghome.MkWzfjdESc/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
gpg: keyserver receive failed: Invalid argument

Any help is appreciated, thanks!
Travis

Hi,

this seems like a temporary error with the keyserver. Unfortunately GPG keyservers are notoriously slow and prone to errors.

Trying again a couple of times usually works, though I had no issues adding the key the first time:

Note that you can also use an alternative keyserver like hkp://pgp.mit.edu:80 if the Ubuntu one is giving you issues.

If all else fails, I exported the Bintray key manually, which you can download from here and add it with sudo apt-key add bintray.gpg.pub.

HTH,

Ivan