gpg:无法连接到代理:IPC连接呼叫失败 [英] gpg: can't connect to the agent: IPC connect call failed
问题描述
尝试使用GPG解密某些密钥时遇到问题.以下输出是给我的:
I am having a problem while trying to decrypt some keys using GPG. The following output is given to me:
gpg: can't connect to the agent: IPC connect call failed
在本教程中,我已经编辑了一些文件: https://michaelheap.com/gpg-cant-connect-to-the-agent-ipc-connect-call-failed/,但没有成功.
I already edited some files, pointed in this tutorial: https://michaelheap.com/gpg-cant-connect-to-the-agent-ipc-connect-call-failed/ but with no success.
可能的原因?
预先感谢
推荐答案
即使我在Ubuntu 20 WSL中遇到了上述问题,我还是尝试了以下所有方法|以上建议,但没有一个对我有用.
Even I had the above issue in Ubuntu 20 WSL, I tried all the below | above suggestions, but none worked for me.
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
我如何解决此问题?
- 删除gpg
- 安装其他版本的gpg.
我该怎么做?
apt remove gpg
(按照说明进行操作)
apt install gnupg1
(按照说明进行操作)
How do I do it?
apt remove gpg
( follow the instructions)
apt install gnupg1
(follow the instructions)
选项2.
sudo apt update --y
`sudo apt remove gpg`
`sudo apt-get update -y`
`sudo apt-get install -y gnupg1`
证明. (请参阅屏幕截图):
Proof. (refer to the screenshot):
这篇关于gpg:无法连接到代理:IPC连接呼叫失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!