Invalid signature when trying to apt-get update on Kali [duplicate]
Ask Question Asked 3 years, 2 months ago Active 3 years, 2 months ago Viewed 126k times 20 This question already has answers here: Invalid signature for Kali Linux repositories : “The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository” (6 answers) Closed 3 years ago.I'm getting an invalid signature error when I try to apt-get update
:
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release
Hit:4 https://download.sublimetext.com apt/dev/ InRelease
Hit:5 http://deb.i2p2.no unstable InRelease
Get:6 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]
Err:6 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
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 <devel@kali.org>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.
Why is this happening? How can I fix it
### FIX的办法,需要更新
Per: https://twitter.com/kalilinux/status/959515084157538304, your archive-keyring package is outdated. You need to do this (as root):
wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add