Hello Julian,
some notes on your answer.

"If you want to use optional (deprecated) features of apt-key like adv"
->

How could I tell that "apt-key adv" is deprecated? Neither the man page
nor the command says that adv is deprecated, and I couldn't find
anything related in the first Google search result.

"like almost everything else" -> what are you referring to? apt-key
itself is deprecated? Why this is not written in the man page or in the
output?

Also, apt-key manpage only tells the user about the need of installing
gnupg manually if the advanced options are required - dirmngr is not
mentioned ANYWHERE.

So:
- I'm using a pattern that I've been using, successfully, for years on Ubuntu 
and Debian distros;
- apt-key is installed;
- gnupg is installed;
- there's no other documentation about that anywhere (release notes? 
https://wiki.ubuntu.com/YakketyYak/ReleaseNotes )


OF COURSE as a user I think there's a yakkety bug. And, I might say, this is an 
example of a bad migration path; if I perform this command on Xenial


$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 
A1D267C030C00DCB877900ED939C61C5D1270819
[sudo] password for alan: 
Executing: /tmp/tmp.FAWWu2wvKx/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv
A1D267C030C00DCB877900ED939C61C5D1270819
gpg: requesting key D1270819 from hkp server keyserver.ubuntu.com
gpg: key D1270819: "Alan Franzoni (automated signing key) 
<automa...@franzoni.eu>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1


I should AT LEAST receive a "pending deprecation" warning. On the
contrary, it works 100% and gives me absolutely no clue on the fact I'm
doing something wrong.

That's not the way to go.

-- 
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

Reply via email to