No dirmngr even though present in /usr/bin/dirmngr-- WSL Ubuntuo 18.04

August 26, 2019 142 views
R Applications Ubuntu 18.04

I receive the following error despite haveing dirmngr in my bin:

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
Executing: /tmp/apt-key-gpghome.HNVQN8gpYv/gpg.1.sh –keyserver keyserver.ubuntu.com –recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
gpg: connecting dirmngr at ’/tmp/apt-key-gpghome.HNVQN8gpYv/S.dirmngr’ failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr

2 Answers
tdfyoder August 27, 2019
Accepted Answer

Thank you Alex– I ended up using:

code
```gpg --keyserver keyserver.ubuntu.com --recv-key E298A3A825C0D65DFD57CBB651716619E084DAB9

Hello,

The temporary fix to pass this problems is using apt-key add instead adv options through wget or curl ::

curl -sL "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA6A19B38D3D831EF" | sudo apt-key add

Let me know how it goes.

Alex

Have another answer? Share your knowledge.