Debian11 update error, E: The repository 'http://security.debian.org bullseye/updates Release' does not have a

888u

Last update at :2024-06-16,Edit by888u

When updating debian11, I found an update error problem, 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. Generally speaking, the link in the source.list that comes with the system is wrong, and it may have been upgraded from a lower version; the solution is to replace the source link.

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.

The problem lies in the source link above. The link has changed and changed to this:

debhttp://deb.debian.org/debian bullseye main

deb http://deb.debian.org/debian-security/ bullseye-security main

deb http://deb.debian.org/debian bullseye-updates main

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

If it is a machine in mainland China, it is recommended to switch to Alibaba, Tencent, 163, etc., just change mirrors.linode.com to the corresponding source you need below!

University of Science and Technology of China: mirrors.ustc.edu.cn

Tsinghua: mirrors.tuna.tsinghua.edu.cn

Ali: mirrors.aliyun.com

Tencent: mirrors.tencent.com

NetEase: mirrors.163.com

Huawei: mirrors.huaweicloud.com

Recommended site search: Mainland China registration-free host, website registration price, app server rental, Taiwan server, https proxy ip, US server defense, Ministry of Industry and Information Technology registration system website registration, icp registration, cloud host rental,

Debian11 update error, E: The repository 'http://security.debian.org bullseye/updates Release' does not have a

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码