ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

GPG error on Debian

asked 2017-06-24 07:18:34 -0600

Mucip gravatar image

updated 2017-06-24 07:33:02 -0600

Hi I followed below link

But when I run below command:

sudo apt-key adv --keyserver hkp:// --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

Error comes:

mucip@debian-ev:~$ sudo apt-key adv --keyserver hkp:// --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
Executing: /tmp/apt-key-gpghome.YxA1unHkRT/ --keyserver hkp:// --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.YxA1unHkRT/S.dirmngr' failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr

What is the problem?...

Regards, Mucip:)

edit retag flag offensive close merge delete


Please use the Preformatted Text button (the one with 101010 on it) to format console copy-pastes. That makes them much easier to read.


gvdhoorn gravatar image gvdhoorn  ( 2017-06-24 07:25:31 -0600 )edit

Hi, You're right. Sorry. I will use this next time...

Mucip gravatar image Mucip  ( 2017-06-24 07:32:14 -0600 )edit

Hi, I applied format. Thanks. I am learning... ;-)

Mucip gravatar image Mucip  ( 2017-06-24 07:33:47 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2017-06-27 11:52:15 -0600

Mucip gravatar image

Hi, After than Gvdhoorn's answer. I googled little bitr more. I installed below packets; su

sudo apt-get install gnupg
sudo apt-get install dirmngr

Than redo below code,

sudo apt-key adv --keyserver hkp:// --recv-key s421C365BD9FF1F717815A3895523BAEEB01FA116

Than now everything fine again... ;-)

Regards, Mucip:)

edit flag offensive delete link more

answered 2017-06-24 07:38:09 -0600

gvdhoorn gravatar image

updated 2017-06-24 07:38:43 -0600

A quick google suggests the apt-key adv .. usage is deprecated (see ubuntu/bug/1634464 and ubuntu/bug/1623087, comment 8 fi - Ubuntu, but the idea seems the same).

debian/bug/845720 suggests that manually installing dirmngr should make things work again.

This would be at best a work-around. If you can find the currently recommended way to import keys in Debian (and I expect future Ubuntu distributions - if not already on Yakkety) and could update the wiki that would be very much appreciated.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-06-24 07:18:34 -0600

Seen: 2,745 times

Last updated: Jun 27 '17