I've been trying to install snips.ai to play with speech recognition. Unfortunately, when executing:

sudo apt-key adv --keyserver pgp.mit.edu --recv-keys D4F50CDCA10A2849

I've got the following error message:

gpg: keyserver receive failed: Server indicated a failure

This is quite unfortunate since adding -v doesn't give any more information.

Scouring the net, I've fount the following potential solutions:

  • Retry multiple times as this might be a server timeout. I've reset the time to my zone, but no luck
  • Retry with a different server. I've tried with keyserver.ubuntu.com but no luck
  • Prepend 'hkp://' to the key server's name and append the default port ':80'. This helped.

So, using:

sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys D4F50CDCA10A2849

fixed my problem.

HTH,