pony-stable icon indicating copy to clipboard operation
pony-stable copied to clipboard

gpg Key error in apt-get installation instruction

Open nisanharamati opened this issue 8 years ago • 3 comments
trafficstars

When executing

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "D401AB61 DBE1D0A2"

I get the following result:

$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys "D401AB61 DBE1D0A2"
Executing: /tmp/apt-key-gpghome.B3RuvWpOpZ/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D401AB61 DBE1D0A2
gpg: "D401AB61 DBE1D0A2" not a key ID: skipping

nisanharamati avatar Oct 18 '17 19:10 nisanharamati

update: I only get this error on Ubuntu 17.04. If I run the same command in an Ubuntu Trusty or Xenial VM then it works as expected.

nisanharamati avatar Oct 18 '17 22:10 nisanharamati

Same with 18.04 LTS

NotsOverflow avatar May 03 '18 09:05 NotsOverflow

We need to use the long key id, using twi shirt key ids does not work for all gpg versions it seems.

This is the correct long key id: 379CE192D401AB61

mfelsche avatar May 03 '18 09:05 mfelsche