我尝试用 and 进行更新,apt-get update && apt-get upgrade
但apt-get update --fix-missing
总是
apt apt-get clean && apt-get update && apt-get dist-upgrade
失败。
每当我输入 时apt-get update
,我都会收到以下错误:
apt-get update
Get:1 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease [30.5 kB]
Err:1 http://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Hit:2 https://packagecloud.io/AtomEditor/atom/any any InRelease
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://ftp.halifax.rwth-aachen.de/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
无效签名意味着什么EXPKEYSIG ED444FF07D8D0BF6
以及如何使其有效?
有什么方法可以解决这个问题,以便我可以正确更新存储库?我们将非常感谢您的帮助!
提前致谢。
答案1
尝试以下命令:
wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add