gpt4 book ai didi

ubuntu-18.04 - Ubuntu 18.04 添加 gpg key 失败,找不到 gpg-agent 错误

转载 作者:行者123 更新时间:2023-12-04 02:36:31 25 4
gpt4 key购买 nike

尝试将我们的基本镜像迁移到稳定的 Ubuntu 18.04,当我们尝试添加我们的 gpg key 时,出现此错误:

root@77ff14f29cab:/# apt-key add apt-key.gpg 
gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
gpg: can't connect to the agent: No such file or directory
gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory
gpg: can't connect to the agent: No such file or directory

最佳答案

您很可能缺少 gpg-agent 包:

gpg-agent/testing,unstable,now 2.2.5-1 amd64 [installed,automatic]
GNU privacy guard - cryptographic agent

您应该运行的命令是 apt install gpg-agent .

关于ubuntu-18.04 - Ubuntu 18.04 添加 gpg key 失败,找不到 gpg-agent 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50318825/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com