I have quite some scripts that are still using the
apt-key adv
command. And I know this command is deprecated. And soon becoming unable to use.
Correct me if I'm wrong, but Debian 11 is the last Debian version supporting apt-key
.
I also know we need to migrate to fetching the .asc file directly and put the file into the /etc/apt/trusted.gpg.d/
folder.
How do I convert from the command below to a wget of this .asc file? Where can I find the .asc files I need? Are those .asc files even provided by Linux Mint / X2Go or other repos?
The command I use for downloading keys at the moment is:
First example: apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A6616109451BBBF2
Second example: apt-key adv --recv-keys --keyserver keyserver.ubuntu.com E1F958385BFE2B6E
How do I retrieve the .asc
(or .gpg
) files from those repos?
Asked by Melroy van den Berg
(201 rep)
Dec 17, 2021, 10:32 PM
Last activity: May 12, 2022, 11:19 AM
Last activity: May 12, 2022, 11:19 AM