广告位招租

DEBIAN源更新报错解决方法

118次阅读
没有评论

在我们使用Debian 10系统中,如果我们使用更新,部分会出现如下所示的错误

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’

解决方案

#运行下面的命令成功解决
apt-get --allow-releaseinfo-change update
apt-get dist-upgrade
不买jj
版权声明:本站原创文章,由 不买jj2022-04-26发表,共计943字。
转载提示:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
广告位招租
评论(没有评论)

广告位招租