Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amanjuman/550c924f242fab4dfb2f30353781a956 to your computer and use it in GitHub Desktop.
Save amanjuman/550c924f242fab4dfb2f30353781a956 to your computer and use it in GitHub Desktop.
apt-key and add-apt-repository Deprecation Using gpg
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/docker-ce-archive-keyring.gpg > /dev/null
OR
apt-key list
sudo apt-key --keyring /etc/apt/trusted.gpg.d/mariadb.gpg adv --no-default-keyring --keyserver keyserver.ubuntu.com --recv F1656F24C74CD1D8
sudo chmod 644 /etc/apt/trusted.gpg.d/mariadb.gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment