首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Debian jessie GPG错误清除文件无效

Debian jessie GPG错误清除文件无效
EN

Unix & Linux用户
提问于 2015-10-28 19:43:57
回答 1查看 7.7K关注 0票数 0

这就是我在运行apt-get更新时得到的结果:

代码语言:javascript
运行
复制
/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键是如何与repos一起工作的。

每个存储库都有一个与其相关的密钥,在允许回购更新之前,我需要在机器上信任它,对吗?因此,如果此错误是由具有过期键引起的,如何导入新键?

编辑:我也很好奇为什么它会说"Clearsigned文件无效“。我认为Clearsign只是用于包装文本文档,而不是焦油球--除非我读错了

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2015-11-04 18:08:57

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

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

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/239307

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档