Debain源更新报错解决方法

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

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

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.

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

apt-get --allow-releaseinfo-change update

今天看邮箱才发现RackNerd给我发了封邮件,说我的VPS所在主机出现硬盘多块损坏,造成RAID10降级,要求我72小时内迁移数据……
我发现的时候已经快70小时了…… Fuck
赶快登录新的vps,架设环境,没想到无论oneinstack还是堡垒的面板都安装不成功,然后我就更新Debian的源,没想到一直出错,还好找到解决办法。
更新之后安装就正常了,赶快把数据迁移到新的vps……
RackNerd确实有点网传的不靠谱感觉啊。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

返回主页看更多
狠狠的抽打博主 支付宝 扫一扫