apt-get update
遇到以下错误,我无法运行:
# apt-get update
Hit:1 http://ftp.br.debian.org/debian testing InRelease
Ign:2 http://security.debian.org/debian-security testing/updates InRelease
Err:3 http://security.debian.org/debian-security testing/updates Release
404 Not Found [IP: 151.101.92.204 80]
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security testing/updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Repository 'http://ftp.br.debian.org/debian testing InRelease' changed its 'Codename' value from 'buster' to 'bullseye'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
因此,这里有两个错误消息:
- 该存储库不再具有一个发行文件,这很奇怪。我在http://security-cdn.debian.org/debian-security/zzz-dists/testing/updates/处进行了检查,并发现其中存在Release文件。我是在错误的位置看还是有其他事情发生?
- 该存储库将其名称从更改为
buster
,bullseye
并且“必须明确接受”(我今天见过一次;打开问题时它不在那儿,并且不再出现了)。这并不令人感到意外,但是如果我跟踪存储库testing
而不是发行版名称,我并不认为这会成为问题。
我能做什么?APT告诉我阅读apt-secure(8)
,但是它没有我需要的信息,或者我听不懂。