首页
学习
活动
专区
圈层
工具
发布
社区首页 >专栏 >DEBIAN源更新报错解决方法

DEBIAN源更新报错解决方法

原创
作者头像
Qwe7
发布于 2022-03-06 21:27:35
发布于 2022-03-06 21:27:35
5.4K0
举报
文章被收录于专栏:网络收集网络收集

今天更新debian 10的源的时候,突然报错,主要是说源从稳定源切换到不稳定源,连忙查了一下原因。

‘Suite’ value from ‘stable’ to ‘oldstable’

代码语言:javascript
复制
root@debian:# apt-get update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://nginx.org/packages/mainline/debian buster InRelease [3604 B]
Get:5 http://nginx.org/packages/mainline/debian buster/nginx amd64 Packages [46.3 kB]
Reading package lists... Done
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.9' to '10.10'
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'http://deb.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

还好,运行下面的命令成功解决。

代码语言:javascript
复制
apt-get --allow-releaseinfo-change update

–allow-releaseinfo-change

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

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

问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档