Idea #21446
open
Stop using `apt-key add` everywhere
Added by Brett Smith 10 months ago.
Updated 9 months ago.
Description
Quoting the man page:
apt-key(8) will last be available in Debian 11 and Ubuntu 22.04.
Note: Instead of using [apt-key add
] a keyring should be placed directly in the /etc/apt/trusted.gpg.d/ directory with a descriptive name and either "gpg" or "asc" as file extension.
- Target version changed from Development 2024-02-14 sprint to Future
I suddenly had the thought "Wait, if apt-key is gone from Debian 12, how am I reading the man page?" It turns out the man page was overly optimistic:
$ lsb_release -d
Description: Debian GNU/Linux 12 (bookworm)
$ dpkg -S $(command -v apt-key apt-get)
apt: /usr/bin/apt-key
apt: /usr/bin/apt-get
So we should still do this as a modernization task but there's no immediate need for it.
Also available in: Atom
PDF