Comment 4 for bug 1634464

Revision history for this message
Alan Franzoni (alanfranz) wrote :

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) <email address hidden>" 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.