debian11更新出错 E: The repository ‘http://security.debian.org bullseye/updates Release’ does not have a Release file.
【性价之王】 | 【线路之王】 | 【价格之王】 | 【配置之王】 |
【免费之王】 | 【香港首推】 | 【梯子之王】 | 【独服之王】 |
在更新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
[debian]历史优惠活动内容
猜你可能想看的VPS
- HostSolutions→罗马尼亚大硬盘 KVM 抗投诉 1TB 月付全球[VPS测评]
- CloudCone→$14 年 512MB 内存 15GB 空间 2TB虚拟空间(主机)
- spinservers→$89 月-2*E5-2630Lv2 64GB 全球[VPS测评]
- 方框中一个天字 月亮星星中间一个谭字是什么成语?全球[VPS测评]
- 按时计费 $2.49 月 768M 内存 10G 硬盘 1T 流量 1G全球[VPS测评]
- 疯狂猜成语 图猜成语一颗心流出很多血是什么成语?全球[VPS测评]
- 腾讯云海外免备案云服务器 2 折 318 元 年起 香港韩国日本超低延迟日本VPS[主机]
- Indirect modification of overloaded 全球[VPS测评]
- 网站出现 cann't write cache files 之类无法写入全球[VPS测评]
- php 从身份证获取出生日期及性别全球[VPS测评]
- 如何在百度搜索结果中显示你的WordPress站点Logo全球[VPS测评]
- WordPress网站运营必备的浏览器插件5118站长工具箱全球[VPS测评]
- 基于Vue.js的单栏wordpress博客模板全球[VPS测评]
- WordPress网站PHP纯代码生成文章海报图片实现分享全球[VPS测评]
- 其云否特价 VPS 768M内存,35G硬盘,2T流量,电信双向CN2G全球[VPS测评]
- on9host 1核心 512M内存 15G 储存 500G流量 30M全球[VPS测评]
- 一篇漫画,看懂云计算全球[VPS测评]
- Mysql连接数过高,如何检查?全球[VPS测评]
- 云计算的大门依旧没向雷军敞开全球[VPS测评]
- HostKvm,香港云地VPS,全场八折,三网直连,电信CN2,2核4G香港VPS[主机]
- CMIVPS,香港沙田大带宽vps特惠7折,CN2+BGP直连,100M香港VPS[主机]
- 碳氧云,香港vps路由调整为沙田cn2,特价款6核6G仅80元/月香港VPS[主机]
- 再“掷”53亿元 宜家能否挽回中国消费者全球[VPS测评]
- edgeNAT:便宜美国CN2/香港CN2/韩国CN2低至48元/月_不韩国VPS[主机]
- 因搜包耽误员工下班,苹果将支付3050万美元赔款全球[VPS测评]
- 亿速云“双11”上云狂欢大促 高防云服务器、裸金属服务器优惠套餐全球[VPS测评]
- 拼多多也要做跨境电商?出海之路能一帆风顺吗,了解一下全球[VPS测评]
- 跨境电商洋码头生死攸关:买手流失资金被冻结保全全球[VPS测评]
- 云计算的三种服务模式,SaaS和PaaS的区别在哪里?全球[VPS测评]
- 极光kvm怎么样,便宜大带宽香港cmi vps/美国gia vps低至1美国VPS[主机]
转载请注明原文地址:https://www.motoll.com/read-258.html