Home FAQ How To Fix “gpg: keyserver receive failed: No dirmngr” Error
gpg: keyserver receive failed: No dirmngr

How To Fix “gpg: keyserver receive failed: No dirmngr” Error

By sk
991 Views

One of our reader faced this error while installing Katoolin3 - gpg: keyserver receive failed: No dirmngr. This error occurs because of missing dirmngr. For those wondering, dirmngr is a server for managing and downloading certificate revocation lists (CRLs) for X.509 certificates and for downloading the certificates themselves. Dirmngr also handles OCSP requests as an alternative to CRLs. Dirmngr is either invoked internally by gpgsm (from GnuPG 2) or when running as a system daemon through the dirmngr-client tool. Since version 2.1 of GnuPG, dirmngr takes care of accessing the OpenPGP key‐servers.

If dirmngr is missing for any reasons, you will see the following error when try to install Katoolin.

Executing: /tmp/apt-key-gpghome.ZM5FZxiViK/gpg.1.sh -qq –keyserver pool.sks-keyservers.net –recv-keys ED444FF07D8D0BF6
gpg: connecting dirmngr at ‘/tmp/apt-key-gpghome.ZM5FZxiViK/S.dirmngr’ failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr
Executing: /tmp/apt-key-gpghome.wCZgBWqQo3/gpg.1.sh -qq –keyserver hkp://pool.sks-keyservers.net:80 –recv-keys ED444FF07D8D0BF6
gpg: connecting dirmngr at ‘/tmp/apt-key-gpghome.wCZgBWqQo3/S.dirmngr’ failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr

It is not an exclusive error for Katoolin, you will encounter this error when trying to import GPG keys on any Linux distributions, especially on Debian minimal systems.

Fix "gpg: keyserver receive failed: No dirmngr" Error

To fix missing dirmngr error, simply install dirmngr package on your Debian-based systems by running the following commands from your Terminal:

$ sudo apt update
$ sudo apt install dirmngr --install-recommends

Now try again to install Katoolin or import the GPG keys using "apt-key" command. It should work!

Resource:

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More