更新时出现:
校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease: 下列签名无效: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
签名出错,添加上就好了
使用命令:
gpg --keyserver pgpkeys.mit.edu --recv-key ED444FF07D8D0BF6
gpg: keybox '/home/ling/.gnupg/pubring.kbx' created
gpg: key ED444FF07D8D0BF6: 133 signatures not checked due to missing keys
gpg: /home/ling/.gnupg/trustdb.gpg:建立了信任度数据库
gpg: 密钥 ED444FF07D8D0BF6:公钥“Kali Linux Repository <devel@kali.org>”已导入
gpg: 没有找到任何绝对信任的密钥
gpg: 合计被处理的数量:1
gpg: 已导入:1
然后添加
➜ ~ gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add
OK
Ez 0.0