Fix: https://download.docker.com/linux/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. Rumi, November 6, 2026 Getting this error on your Debian 12 docker repository? root@smart-discourse:/home/smart# apt update Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B] Get:2 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B] Hit:3 https://deb.debian.org/debian bookworm InRelease Hit:4 https://deb.debian.org/debian bookworm-updates InRelease Hit:5 https://deb.debian.org/debian bookworm-backports InRelease Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease Hit:7 https://download.docker.com/linux/debian bookworm InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: https://download.docker.com/linux/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. The fix: Run this command to fetch the correct cryptographic key URL: curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc After downloading the proper key, update your package cache: apt update Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B] Get:2 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B] Hit:3 https://deb.debian.org/debian bookworm InRelease Hit:4 https://deb.debian.org/debian bookworm-updates InRelease Hit:5 https://deb.debian.org/debian bookworm-backports InRelease Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease Hit:7 https://download.docker.com/linux/debian bookworm InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. root@smart-discourse:/home/smart# Solved! Administrations Configurations (Linux) DebianDebian 12DockerDocker Repo Error