Docker Community Forums

Share and learn in the Docker community.

[Linux][Debian, Ubuntu] Dependency on gnupg-agent

As of today Ubuntu installation instruction shows gnupg-agent as a required install item. I’m talking in a downstream community and we found that that package only installs document. It does seems to depend on gpg-agent (*1) that installs actual meat.

Is there any reason why gnupg-agent is specifically needed? If not, can it be gpg-agent?

*1 Dependency on

$ apt-cache depends gnupg-agent
  Depends: gpg-agent

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS

I have dug a little deeper into the history of that line and found that it was proposed to be gpg-agent but was converged to gnupg-agent because it was installable on more platforms. On Xenial gnupg-agent has the content, on newer platforms it’s just the documentation, with a dependency on gpg-agent.

gpg-agent is only available back through bionic:

gnupg-agent is available on all versions: I believe mostly as a backwards compatibility package it’s labeled “(dummy transitional package)” on the newer platforms. It’s produced from the same source package: Ubuntu – Details of source package gnupg2 in focal

Sorry, as a new user I can only post two links so I had to quote two of the links.

1 Like