在更新debian11的时候发现个了更新出错的问题,主要是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.解决办法其实很简单,大家更换下源即可了。

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.
请修改下源(/etc/apt/source.list),替换成下面的吧:
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
如果是国内的机器建议切换阿里、腾讯、163等,只需要将mirrors.linode.com改为下面对应的你需要的源即可!
中科大:mirrors.ustc.edu.cn
清华:mirrors.tuna.tsinghua.edu.cn
阿里:mirrors.aliyun.com
腾讯:mirrors.tencent.com
网易:mirrors.163.com
华为:mirrors.huaweicloud.com

神马VPS









最新评论
Wow, this piece of writing is fastidious, my younger sister is analyzing such things, therefore I am going to convey her.
Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is great, as well as the content!
I want to to thank you for this excellent read!! I definitely enjoyed every bit of it. I have got you book-marked to check out new things you
I like this post, enjoyed this one appreciate it for posting.
Definitely, what a splendid blog and enlightening posts, I surely will bookmark your site.Best Regards!
As I website possessor I conceive the content here is very fantastic, thanks for your efforts.
I was suggested this website by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my difficulty. You are wonderful! Thanks!
Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.