我在尝试使用 GPG 解密某些 key 时遇到问题。以下输出提供给我:
gpg: can't connect to the agent: IPC connect call failed
我已经编辑了一些文件,在本教程中指出:https://michaelheap.com/gpg-cant-connect-to-the-agent-ipc-connect-call-failed/但没有成功。
可能的原因是什么?
提前致谢
最佳答案
即使我在 Ubuntu 20 WSL 中遇到上述问题,我也尝试了以下所有方法 |以上建议,但没有一个对我有用。
root@7400-9888K13:/mnt/c/Users/PKammari# wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
gpg: can't connect to the agent: IPC connect call failed
我做了什么来解决这个问题?我该怎么做?
apt remove gpg
(按照说明)apt install gnupg1
(按照说明)选项 2。
sudo apt update --y
`sudo apt remove gpg`
`sudo apt-get update -y`
`sudo apt-get install -y gnupg1`
证明。 (引用截图):关于gnupg - gpg : can't connect to the agent: IPC connect call failed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46673717/