加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

apt – GPG错误;以下签名无效KEYEXPIRED

发布时间:2020-12-13 18:16:20 所属栏目:Linux 来源:网络整理
导读:参见英文答案 What should I do when I got the KEYEXPIRED error message after an apt-get update?8个 sudo apt-get update 得到这个错误: W: GPG error: http://debian.datastax.com stable Release: The following signatures were invalid: KEYEXPIRED
参见英文答案 > What should I do when I got the KEYEXPIRED error message after an apt-get update?8个
sudo apt-get update

得到这个错误:

W: GPG error: http://debian.datastax.com stable Release: The following signatures were invalid: KEYEXPIRED 1439480363 KEYEXPIRED 1439480363 KEYEXPIRED 1439480363

即使使用后–fix-missing仍然有相同的错误.

解决方法

实际上问题来自 What should I do when I got the KEYEXPIRED error message after an apt-get update?

我不能选择kynana的答案作为最佳答案,所以我只是把它放在这里.谢谢@Kynan https://serverfault.com/users/53358/kynan

要查找任何过期的存储库密钥及其ID,请使用apt-key,如下所示:

sudo apt-key list | grep expired

您将得到类似于以下内容的结果:

pub   4096R/BE1DB1F1 2011-03-29 [expired: 2014-03-28]

在这种情况下,密钥ID是/即BE1DB1F1之后的位.

要更新密钥,请运行

sudo apt-key adv --recv-keys --keyserver keys.gnupg.net BE1DB1F1

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读