Rui*_*ang 7 gpg-agent ubuntu-18.04
试图将我们的基本映像迁移到稳定的Ubuntu 18.04,当我们尝试添加我们的gpg密钥时,收到此错误:
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
Run Code Online (Sandbox Code Playgroud)
小智 12
你错过了gpg-agent包,很有可能:
gpg-agent/testing,unstable,now 2.2.5-1 amd64 [installed,automatic]
GNU privacy guard - cryptographic agent
Run Code Online (Sandbox Code Playgroud)
你应该运行的命令是apt install gpg-agent.
| 归档时间: |
|
| 查看次数: |
6702 次 |
| 最近记录: |