关注VPS主机与
服务器促销分享

Debian 11更新出错,提示E: The repository ‘http://security.debian.org bullseye/updates Release’ does not have a Release file.

Debian GNU/Linux(简称Debian)是目前世界最大的非商业性Linux发行版之一,是由世界范围1000多名计算机业余爱好者和专业人员在业余时间制做

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

一般来说是系统自带的source.list里面的链接是错误的,可能是从低版本升级上来的;解决办法就更换下源链接即可了。

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.

问题出在上面的源链接上,链接变了,换成这样:

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

请修改下源(/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
赞(0)
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权, 转载请注明出处。
文章名称:《Debian 11更新出错,提示E: The repository ‘http://security.debian.org bullseye/updates Release’ does not have a Release file.》
文章链接:https://www.zyhot.com/article/14486.html
关于安全:任何IDC都有倒闭和跑路的可能,月付和备份是您的最佳选择,请保持良好的、有规则的备份习惯。
本站声明:本站仅做信息分享,不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本站请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本站,即表示您已经知晓并接受了此声明通告。

评论 抢沙发

评论前必须登录!

 

登录

找回密码

注册