apt_key_gpg
Apt-key deprecated error
When doing this:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Error looks like this:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
This works:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key --keyring /etc/apt/trusted.gpg.d/docker-apt-key.gpg add
apt_key_gpg.txt · Last modified: 2021/02/01 05:55 by 127.0.0.1