運行 Kali Linux 更新命令後出錯

運行 Kali Linux 更新命令後出錯

我已經下載了 Kali Linux 映像和 Kali Linux VM 映像超過 7 次,但每次apt-get update正確安裝後執行命令時都會顯示相同的錯誤。

Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]

Err:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease

  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>

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.yzu.edu.tw/Linux/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

答案1

您的存檔密鑰環包已過期,因此您需要將新的儲存庫密鑰新增至您的系統:

wget -q -O - https://archive.kali.org/archive-key.asc  | apt-key add

相關內容