debian11 update error,E: The repository ‘http://security.debian.org bullseye/updates Release’ does not have a Release file.

When updating debian11, I found an update error, mainly 404 Not Found [IP: 151.101.26.132 80], E: The repository ‘http://security.debian.org bullseye/updates Release’ does not have a Release file. The solution is actually very simple, you can replace the source.

debian11

root@zhujiceping:~# apt update

Hit:1 http://deb.debian.org/debian bullseye InRelease

Hit:2 http://deb.debian.org/debian bullseye-updates InRelease

Hit:3 http://deb.debian.org/debian bullseye-backports InRelease

Ign:4 http://security.debian.org bullseye/updates InRelease

Err:5 http://security.debian.org bullseye/updates Release

404 Not Found [IP: 151.101.26.132 80]

Reading package lists… Done

E: The repository ‘http://security.debian.org bullseye/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.

Please modify the source (/etc/apt/source.list) and replace it with the following:

deb http://mirrors.linode.com/debian bullseye main

deb-src http://mirrors.linode.com/debian bullseye main

deb http://mirrors.linode.com/debian-security/ bullseye-security main

deb-src http://mirrors.linode.com/debian-security/ bullseye-security main

deb http://mirrors.linode.com/debian bullseye-updates main

deb-src http://mirrors.linode.com/debian bullseye-updates main