APT recommends gnupg, and gnupg recommends dirmngr, so all is working as intended. If you want to use optional (deprecated) features of apt-key like adv, you have to manually install gnupg. If you want to use optional features depending on key servers, you have to install dirmngr manually.
The adv option is deprecated, like almost everything else. Drop files in trusted.gpg.d instead. The recommends on gnupg will be downgraded to a suggests at a later point. ** Changed in: apt (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1634464 Title: cloudimg apt missing dirmngr Status in apt package in Ubuntu: Invalid Bug description: apt-key adv --keyserver keyserver.ubuntu.com --recv 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280 Warning: apt-key output should not be parsed (stdout is not a terminal) Executing: /tmp/tmp.Qv81Vl3Idi/gpg.1.sh --keyserver keyserver.ubuntu.com --recv 9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280 gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory gpg: connecting dirmngr at '/tmp/tmp.Qv81Vl3Idi/S.dirmngr' failed: No such file or directory gpg: keyserver receive failed: No dirmngr To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1634464/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp