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
- 便宜 VPS $8.75 每年 256M 内存 500G 月流量 强势补全球[VPS测评]
- KcpCloud→199 元 月 2 核 2GB 内存 8GB SSD 虚拟空间(主机)
- 桔子 VPS→5 折促销 三网直连(回程 CN2)+ddos 防御 美国美国VPS[主机]
- 微基主机 IDC.WIKI→美国 CN2 虚拟主机 日本 CN2 VPS日本VPS[主机]
- php 获取当前时间戳全球[VPS测评]
- GeorgeDatacenter→$15 年 1GB 内存 100GB 虚拟空间(主机)
- php 判断两个数组是否相等全球[VPS测评]
- [11.11]滴滴云秒杀→2C4G2M 三年 468 元 2C4G5M 全球[VPS测评]
- JGKVM 五一劳动节专场促销,香港 cmi 日本 cn2 美国 cn2日本VPS[主机]
- iozoom 云 VPS 月付5刀 Cloud 1GB 套餐详细评测全球[VPS测评]
- 华纳云双十一 香港美国云服务器最低3.5折 香港高防服务器防护能力达80美国VPS[主机]
- 为什么有些网站的SEO排名总是靠前全球[VPS测评]
- 半月湾洛杉矶AS9929线路VPS,$59.99/年起,1Gbps带宽/美国VPS[主机]
- 建站云服务器选择高效云盘还是SSD硬盘?全球[VPS测评]
- 搬瓦工VPS传家宝10G KVM PROMO和SPECIAL 10G K全球[VPS测评]
- 大前端 DUX 增强版 WordPress 主题:DUX-Plus 支持全球[VPS测评]
- HKServerSolution 4核心 4G内存 20G SSD 3T全球[VPS测评]
- 快速云:科普云服务器服务器的概念和作用2022-08-2313:26来源全球[VPS测评]
- 腾讯云香港轻量应用服务器 优惠活动最低月付仅24元香港VPS[主机]
- 云服务器能干什么?有几十种玩法?阿里云,腾讯云服务器如何购买?全球[VPS测评]
- HTML5绿色有机食品电商网站模板 - Organtio全球[VPS测评]
- Centos7的firewall 防火墙如何设置端口转发?全球[VPS测评]
- 如何更改WHMCS默认后台路径让WHMCS系统更安全全球[VPS测评]
- edgenat:韩国cn2+香港cn2,VPS八折优惠,8核8G/50gWINDOWS
- RangCloud:新购NAT VPS,256/512/1G/2G主机季香港VPS[主机]
- UCloud优刻得云服务器建站教程:香港云服务器购买优惠方法香港VPS[主机]
- 快速云:云服务器vps的区别是什么云服务器和vps哪个比较好2022-0全球[VPS测评]
- 亿恩科技香港云服务器 2核2G服务器特价700元/年香港VPS[主机]
- 一篇漫画,看懂云计算全球[VPS测评]
- 硅云怎么样?硅云服务器好用吗?硅云香港vps多少钱一年?香港VPS[主机]
转载请注明原文地址:http://www.motoll.com/read-258.html