Solve gpg: can’t connect to the agent: IPC connect call failed error on WSL Ubuntu

  • Post last modified:August 6, 2020
  • Post category:Linux
  • Post author:

Sometimes in WSL Windows Subsystem for Linux, after updating Ubuntu you will get “gpg: can’t connect to the agent: IPC connect call failed” error when you try to add the key using the sudo apt-key add. You can easily solve this. This is because of a bug in Windows Subsystem for Linux. Follow the below steps to solve this error. You can try to add the key manually to solve this problem.

(more…)

Continue ReadingSolve gpg: can’t connect to the agent: IPC connect call failed error on WSL Ubuntu