似乎 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/
吗?是这样,怎么样?
您只需要
apt-get update --allow-releaseinfo-change
随着 Buster 的发布而更改的版本/套件名称运行。看到这个答案:https ://unix.stackexchange.com/a/529056/332764