Sunday, October 1, 2023

apt-key warning when sudo apt update run



Issue: apt-key warning when sudo apt update run

Update below file:
cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list
sudo apt-key list
apt-key export 0EBFCD88 | sudo gpg --dearmour -o /usr/share/keyrings/docker.gpg
#edit file
sudo vim /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list

#from
deb https://download.docker.com/linux/ubuntu focal stable

#to
deb [arch=amd64 signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu focal stable

This should resolve issue.

apt-key warning when sudo apt update run

Issue: apt-key warning when sudo apt update run Update below file: cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list ...