essayant de migrer notre image de base vers Ubuntu 18.04 stable, lorsque nous essayons d'ajouter notre clé gpg, obtenant cette erreur:
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
Vous manquez le package gpg-agent, très probablement:
gpg-agent/testing,unstable,now 2.2.5-1 AMD64 [installed,automatic]
GNU privacy guard - cryptographic agent
La commande à exécuter est apt install gpg-agent
.