From e03a3f924b64844ced1d2f904fa0d64e31a25b64 Mon Sep 17 00:00:00 2001 From: Sean Killeen Date: Fri, 7 Dec 2018 13:59:25 -0500 Subject: [PATCH 1/2] Update guidance for " IPC connect call failed" message --- docs-ref-conceptual/install-azure-cli-apt.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs-ref-conceptual/install-azure-cli-apt.md b/docs-ref-conceptual/install-azure-cli-apt.md index f997115dd0..da6f86f136 100644 --- a/docs-ref-conceptual/install-azure-cli-apt.md +++ b/docs-ref-conceptual/install-azure-cli-apt.md @@ -87,6 +87,21 @@ The error is due to a missing component required by `apt-key`. You can resolve i sudo apt-get install dirmngr ``` +### apt-key fails with "IPC connect call failed" message prior to "No dirmngr" message + +Due to [a previous issue in WSL](https://github.com/Microsoft/WSL/issues/3286), you may experience a variation of the following error: + +```output +gpg: connecting dirmngr at '/tmp/apt-key-gpghome.nMumTfhiHO/S.dirmngr' failed: IPC connect call failed +gpg: keyserver receive failed: No dirmngr +``` + +If that occurs, the following workaround should allow you to add the appropriate key to continue installation + +```bash +curl -sL "http://packages.microsoft.com/keys/microsoft.asc" | sudo apt-key --keyring /etc/apt/trusted.gpg.d/Microsoft.gpg add +``` + ### apt-key hangs When behind a firewall blocking outgoing connections to port 11371, the `apt-key` command might hang indefinitely. From 06f446021df0b48e7cc12da0c7225272822ef37c Mon Sep 17 00:00:00 2001 From: Sean Killeen Date: Fri, 7 Dec 2018 14:02:13 -0500 Subject: [PATCH 2/2] typo: Missing semicolon --- docs-ref-conceptual/install-azure-cli-apt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-ref-conceptual/install-azure-cli-apt.md b/docs-ref-conceptual/install-azure-cli-apt.md index da6f86f136..bac580f50f 100644 --- a/docs-ref-conceptual/install-azure-cli-apt.md +++ b/docs-ref-conceptual/install-azure-cli-apt.md @@ -96,7 +96,7 @@ gpg: connecting dirmngr at '/tmp/apt-key-gpghome.nMumTfhiHO/S.dirmngr' failed: I gpg: keyserver receive failed: No dirmngr ``` -If that occurs, the following workaround should allow you to add the appropriate key to continue installation +If that occurs, the following workaround should allow you to add the appropriate key to continue installation: ```bash curl -sL "http://packages.microsoft.com/keys/microsoft.asc" | sudo apt-key --keyring /etc/apt/trusted.gpg.d/Microsoft.gpg add