[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#968148: /usr/bin/apt-key: Suggestion for manpage and Warning



Package: apt
Followup-For: Bug #968148

Dear Maintainer,

Replacing the command is not what we want to achieve here, but a few
changes in the documentation would go a long way in resolving this.

Maybe changing the text from:
>   Warning: apt-key is deprecated.  Manage keyring files in
>   trusted.gpg.d instead (see apt-key(8)).
To:
>   Warning: apt-key is deprecated.  Keys can simply be downloaded and
>   managed separately in the trusted.gpg.d directory instead using
>   standard file management tools (see apt-key(8)).

And in the apt-key man-page:
>   Use of apt-key is deprecated, except for the use of apt-key del in maintainer scripts to remove existing keys from the main
>   keyring. If such usage of apt-key is desired the additional installation of the GNU Privacy Guard suite (packaged in gnupg) is
>   required.
To:
>   Use of apt-key is deprecated, except for the use of apt-key del in maintainer scripts to remove existing keys from the main
>   keyring. If such usage of apt-key is desired the additional installation of the GNU Privacy Guard suite (packaged in gnupg) is
>   required.
>   New keys can be managed separately in the trusted.gpg.d directory instead using
>   standard file management tools (see apt-key(8)).
>   A replacement for "sudo apt-key add -" would be "sudo tee
>   /etc/apt/trusted.gpg.d/keyname.gpg"

Those last two lines are a nice addition because
apt-key add examples float around a lot on the web.

Thanks for maintaining the package. Hope this helps to resolve the
issue people have.

-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386


Reply to: