在更新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









最新评论
Just desire to say your article is as amazing. The clearness to your put up is just spectacular and i can think you're knowledgeable on this subject. Fine along with your permission let me to snatch your RSS feed to keep up to date with drawing close post. Thank you one million and please continue the enjoyable work.
You have made some really good points there. I checked on the web for more information about the issue and found most individuals will go along with your views on this site.
Hi there, just changed into aware of your blog through Google, and found that it's really informative. I'm gonna watch out for brussels. I will be grateful when you continue this in future. A lot of people shall be benefited out of your writing. Cheers!
That is very interesting, You are an excessively skilled blogger. I have joined your rss feed and sit up for in quest of more of your great post. Additionally, I've shared your site in my social networks
Fantastic goods from you, man. I've understand your stuff previous to and you're just extremely wonderful. I really like what you've acquired here, really like what you're saying and the way in which you say it. You make it entertaining and you still take care of to keep it sensible. I can't wait to read far more from you. This is really a terrific website.
Hi there to all, how is everything, I think every one is getting more from this website, and your views are nice in support of new users.
wonderful publish, very informative. I wonder why the opposite specialists of this sector do not notice this. You must proceed your writing. I'm sure, you've a huge readers' base already!
This is my first time pay a visit at here and i am truly impressed to read all at one place.