以下命令现在失败(EET 时区 14:16):
docker run debian:buster apt-get update
错误是:
$ docker run debian:buster apt-get update
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:1 http://security-cdn.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Err:2 http://deb.debian.org/debian buster InRelease
At least one invalid signature was encountered.
Err:3 http://deb.debian.org/debian buster-updates InRelease
At least one invalid signature was encountered.
Err:1 http://security-cdn.debian.org/debian-security buster/updates InRelease
At least one invalid signature was encountered.
Reading package lists...
W: GPG error: http://deb.debian.org/debian buster InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian buster-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not signed.
W: GPG error: http://security-cdn.debian.org/debian-security buster/updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://security.debian.org/debian-security buster/updates InRelease' is not signed.
$
SO 上的一些答案表明这是 Debian 软件包存储库的问题。如果是这样,我认为这肯定是一个目前已知的普遍问题。
有地方可以查看 Debian 软件包存储库的可用性状态吗?我发现这,但它只包含镜子。
答案1
正如 Debian 自己所说:
服务器 deb.debian.org 本身没有软件包,但是该名称在 DNS 中具有 SRV 记录,可让 apt 延伸并随后找到位置。
我看到您正在 docker 实例中使用它。请确保您有足够的可用空间等。从容器的角度来看,您可以在运行 apt-get update 之前尝试执行此命令
sudo apt clean