下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit 解决办法

我在更新kali的时候遇到了这个问题
apt-get update出现如下报错
下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit 解决办法_第1张图片

cid InRelease [3,956 B]
错误:5 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease
  下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit <metasploit@rapid7.com>
已下载 3,956 B,耗时 6(696 B/s)
正在读取软件包列表... 完成
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease: 下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit 
W: 无法下载 http://downloads.metasploit.com/data/releases/metasploit-framework/apt/dists/lucid/InRelease  下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit 
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件

查阅许多资料都没有解决,根据提示发现是metasploit签名过期了

apt-key list
下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit 解决办法_第2张图片显示已经过期:
可以进行如下操作:

$ sudo echo 'deb http://apt.metasploit.com/ lucid main' > /etc/apt/sources.list.d/metasploit-framework.list
$ sudo wget -O - http://apt.metasploit.com/metasploit-framework.gpg.key | apt-key add -
$ sudo apt-get update
$ sudo apt-get -y install metasploit-framework

再次apt-get update,发现成功,再次apt-key list
下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit 解决办法_第3张图片参考链接:
https://github.com/rapid7/metasploit-framework/issues/7336

上面问题解决后 但是在更新软件之后还是出现如下问题一直没有解决

$sudo parrot-upgrade

dpkg: error processing package firmware-b43legacy-installer (–configure):
the thread installed package firmware-b43legacy-installer script post-instal
lation returned the exit code of error 123
Processing triggers for desktop-file-utils (0.24-1) …
Processing triggers for mime-support (3.64) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for bamfdaemon (0.5.4-2) …
Rebuilding /usr/share/applications/bamf-2.index …
Errors encountered while processing:
firmware-b43-installer
firmware-b43legacy-installer
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process / usr / bin / dpkg returned an error code (1)

查过一些资料:
https://community.parrotsec.org/t/firmware-b43-installer/12508/9
但按照如上资料操作后,apt-get upgrade 不报错了,但是更新不了了,显示还是。。。软件包为更新 唉
下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit 解决办法_第4张图片有哪位大佬解决了请联系我

你可能感兴趣的:(下列签名无效: EXPKEYSIG CDFB5FA52007B954 Metasploit 解决办法)