kali更新失敗

kali更新失敗
閱讀目錄

今天更新kali時失敗,出現如下問題:

複製代碼
root@kali:~# apt-get update
Get:1 http://mirrors.aliyun.com/kali kali-rolling InRelease [30.5 kB]
Err:1 http://mirrors.aliyun.com/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]
Reading package lists… Done
W: GPG error: http://mirrors.aliyun.com/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]
E: The repository ‘http://mirrors.aliyun.com/kali kali-rolling InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
複製代碼
  解決辦法:

root@kali:~# wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add
OK
  再次更新:

複製代碼
root@kali:~# apt-get update
Get:1 http://mirrors.aliyun.com/kali kali-rolling InRelease [30.5 kB]
Get:2 http://mirrors.aliyun.com/kali kali-rolling/main Sources [12.0 MB]
Get:3 http://mirrors.aliyun.com/kali kali-rolling/contrib Sources [60.8 kB]
Get:4 http://mirrors.aliyun.com/kali kali-rolling/non-free Sources [132 kB]
Get:5 http://mirrors.aliyun.com/kali kali-rolling/main amd64 Packages [16.2 MB]
Get:6 http://mirrors.aliyun.com/kali kali-rolling/non-free amd64 Packages [166 kB]
Get:7 http://mirrors.aliyun.com/kali kali-rolling/contrib amd64 Packages [102 kB]
Fetched 28.6 MB in 6s (4,522 kB/s)
Reading package lists… Done
複製代碼
另附上kali更新源:

kali更新源 : https://www.cnblogs.com/Hi-blog/p/5955113.html

Reference:

https://unix.stackexchange.com/questions/421821/invalid-signature-for-kali-linux-repositories-the-following-signatures-were-i

作者:starnight_cyber
出處:https://www.cnblogs.com/Hi-blog/

個性簽名:如果世上的事都按你說的道理走 世界就不是現在這樣了!

如果覺得這篇文章對你有小小的幫助的話,記得在右下角點個“推薦”哦,博主在此感謝!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章