Skip to content

apt-key adv - Fix 'Server indicated a failure' on Raspberry Pi

March 11th, 2019 - HardwareIT(1 min)

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

sudo apt-key adv --keyserver --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 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:// --recv-keys D4F50CDCA10A2849

fixed my problem.


Share on

A little experiment: