Categories

Tools

How to fix apt-key: not found and Unable to locate package software-properties-common on Debian 13 (trixie) Docker images

Debian 13 (trixie) no longer ships apt-key or the software-properties-common package, and the default node, python, php and postgres tags now use that base. Save the repository key under /etc/apt/keyrings and declare the repository in a .sources file with Signed-By, without installing gnupg. Pinning the bookworm tag only postpones the change until 30 June 2028.