Sunday, May 19, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 13785  / 3 Years ago, sat, september 11, 2021, 1:09:49

after updating WSL Ubuntu i can't do sudo apt-key add with an error:



gpg: can't connect to the agent: IPC connect call failed


 Answers
3

This appears to be a known bug in WSL. You can try adding the key manually using:



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



YOUR_KEY_HERE is the GPG key the package you need wants to install. An example would be: 0xA6A19B38D3D831EF


[#3779] Saturday, September 11, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
listeerrated

Total Points: 354
Total Questions: 112
Total Answers: 100

Location: Guam
Member since Fri, Jun 18, 2021
3 Years ago
listeerrated questions
Wed, Jun 8, 22, 11:43, 2 Years ago
Wed, Mar 23, 22, 03:25, 2 Years ago
Wed, Jun 2, 21, 20:28, 3 Years ago
;