Debian执行apt-get update出现“This must be accepted explicitly before updates for this repository can be applied.” 2023-02-17 Website News 暂无评论 1846 次阅读 今天在重新安装的Debian 10上准备更新一下源, ```csharp root@server:~# apt-get update ``` 结果出现报错如下报错,无法完成更新 ```csharp Get:1 http://deb.debian.org/debian buster InRelease [122 kB] Get:2 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB] Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 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.0' to '10.13' 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. ``` 找了资料后,提示需要按照以下命令执行进行更新,如果还有报错请重复执行直到没有报错为止。 ```csharp apt-get update --allow-releaseinfo-change ``` 标签: Debian, update, apt-get 本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
评论已关闭