前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >apt update报错"The repository 'http://security.debian.org bullseye/updates Release' does not have a Re

apt update报错"The repository 'http://security.debian.org bullseye/updates Release' does not have a Re

作者头像
kr
发布2024-06-23 12:26:14
1090
发布2024-06-23 12:26:14
举报
文章被收录于专栏:个人教程个人教程

Debian 11 执行apt update报错

代码语言:javascript
复制
root@loaclhost:~# apt update /etc/apt/sources.list
Ign:1 http://security.debian.org bullseye/updates InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-backports InRelease
Err:4 http://security.debian.org bullseye/updates Release
  404  Not Found [IP: 151.101.78.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/sources.list文件

代码语言:javascript
复制
deb http://security.debian.org/ bullseye/updates main
deb-src http://security.debian.org/ bullseye/updates main

改为

代码语言:javascript
复制
deb http://security.debian.org/ bullseye-security/updates main
deb-src http://security.debian.org/ bullseye-security/updates main
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2024-06-16,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档