From 111c1618cb496b8c004a1608639ab8ad3c01be83 Mon Sep 17 00:00:00 2001 From: Thomas Herzog Date: Sat, 19 Sep 2020 15:52:05 -0700 Subject: [PATCH] Installation Guide on Linux - missing dependency Not sure if this is a common error or if this is the best way to describe the fix but thought I would add something to help others. OS: Debian GNU/Linux 9.13 (stretch) Error running first command of Debian install : `sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0` Full error message: ``` Executing: /tmp/apt-key-gpghome.Fuep9VI9UN/gpg.1.sh --keyserver hkp://keyserver$ gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory gpg: connecting dirmngr at '/tmp/apt-key-gpghome.Fuep9VI9UN/S.dirmngr' failed: $ gpg: keyserver receive failed: No dirmngr ``` Reason: Missing dependency `dirmngr` solution: install `dirmngr` by running: `sudo apt-get install dirmngr` --- docs/install_linux.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/install_linux.md b/docs/install_linux.md index 1dbe780f5..6d2864026 100644 --- a/docs/install_linux.md +++ b/docs/install_linux.md @@ -24,6 +24,8 @@ sudo apt install gh **Note**: If you are behind a firewall, the connection to `keyserver.ubuntu.com` might fail. In that case, try running `sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C99B11DEB97541F0`. +**Note**: If you get _"gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory"_ error, try installing the `dirmngr` package. Run `sudo apt-get install dirmngr` and repeat the steps above. + **Note**: most systems will have `apt-add-repository` already. If you get a _command not found_ error, try running `sudo apt install software-properties-common` and trying these steps again.