Debian jessie GPG 错误 Clearsigned 文件无效

Debian jessie GPG 错误 Clearsigned 文件无效

这是我运行 apt-get update 时得到的结果:

/root$ sudo apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [1,507 B]
Get:2 http://cdn.debian.net jessie InRelease [1,507 B]
Get:3 http://cdn.debian.net jessie-updates InRelease [1,507 B]
Err http://security.debian.org jessie/updates InReleaset/lists/partial/security.debian.org_dists_jessie_updates_InRelease into data and signature failed

Err http://cdn.debian.net jessie InReleasep /var/lib/apt/lists/partial/cdn.debian.net_debian_dists_jessie_InRelease into data and signature failed

Err http://cdn.debian.net jessie-updates InReleaseib/apt/lists/partial/cdn.debian.net_debian_dists_jessie-updates_InRelease into data and signature failed

Fetched 4,521 B in 1s (4,271 B/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org jessie/updates InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cdn.debian.net jessie InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://cdn.debian.net jessie-updates InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

W: Failed to fetch http://cdn.debian.net/debian/dists/jessie/InRelease

W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease

W: Failed to fetch http://cdn.debian.net/debian/dists/jessie-updates/InRelease

W: Some index files failed to download. They have been ignored, or old ones used instead.

我正在阅读这篇文章,但我仍然对 GPG 密钥如何与存储库一起使用感到有点困惑。

每个存储库都有一个与其关联的密钥,在允许从该存储库进行更新之前,我需要在我的计算机上信任该密钥,对吗?那么,如果此错误是由于密钥过期引起的,如何导入新密钥?

编辑:我也很好奇为什么它说“Clearsigned 文件无效”。我认为 Clearsign 仅用于包装文本文档而不是 tar 球 - 除非我读过错误的。

答案1

我不确定是否应该删除这个问题,因为事实证明这是非常常见的代理问题。

我确信这不是它,但做了一个 wget -O-http://cdn.debian.net/debian/dists/jessie/InRelease按照建议从我们的代理返回了响应。我不认为我指的是我们的代理,但我是!

相关内容