It appears as both debian:stable-slim and debian:stable are both currently broken (for updates):

> $ docker run -ti --rm  debian:stable-slim
Unable to find image 'debian:stable-slim' locally
stable-slim: Pulling from library/debian
fc491617b0f1: Pull complete
Digest: sha256:a85c2c0e634946e92a6f4a9a4f6ce5f19ce7c11885bc198f04ab3ae8dacbaffa
Status: Downloaded newer image for debian:stable-slim
root@e610973ac2f8:/# apt update
Ign:1 http://security.debian.org/debian-security stable/updates InRelease
Err:2 http://security.debian.org/debian-security stable/updates Release
  404  Not Found [IP: 80]
Get:3 http://deb.debian.org/debian stable InRelease [113 kB]
Get:4 http://deb.debian.org/debian stable-updates InRelease [36.8 kB]
Get:5 http://deb.debian.org/debian stable/main amd64 Packages [8178 kB]
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security stable/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Anyone else experienced this or found a workaround?

  • This is most likely related to the release of Debian Bullseye. I was able to work around the issue by switching to "debian:buster-slim".
    – vpetersson
    Aug 16, 2021 at 13:34

1 Answer 1


I was able to fix this by changing this line:

deb http://security.debian.org/debian-security stable/updates main


deb http://security.debian.org/debian-security stable-security/updates main

You can do that by running:

sed -i 's/stable\/updates/stable-security\/updates/' /etc/apt/sources.list
  • 1
    Nice. Yeah it's most likely related to some changes in Debian Bullseye, which is now the latest 'stable' release.
    – vpetersson
    Aug 16, 2021 at 13:35
  • 2
    There's been a rename of the security updates repository for Debian 11. See the gray box: debian-handbook.info/browse/en-US/stable/…
    – zzu
    Aug 17, 2021 at 15:25
  • Thanks, this helped me immensely! Dec 6, 2021 at 23:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.