Debian 似乎正在对存储库进行更改。更新 apt 缓存时出现以下信息:
Get:1 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB]
Get:2 http://ftp.dk.debian.org/debian buster InRelease [118 kB]
Reading package lists... Done
N: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Version' value from '' to '10'
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
N: Repository 'http://ftp.dk.debian.org/debian buster InRelease' changed its 'Version' value from '' to '10.0'
E: Repository 'http://ftp.dk.debian.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
我需要更新我的.gpg
文件吗/etc/apt/trusted.gpg.d/
?是这样,怎么样?
答案1
您只需要apt-get update --allow-releaseinfo-change
在版本/套件名称随 Buster 发布而更改时运行即可。