I recently installed Kali as my main Operating System and ran into a problem. Whenever I do, apt-get update a error is returned:
Jan 22, 2018 - Temporary failure resolving 'http.kali.org' after a dist-upgrade #1081. And i have this error too W: http: aptMethod::Configuration: could not.
'W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive-10.kali.org/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]>'
The question was, how do I fix this? Simple enough, you add the keys. Duh.
In order to add the keys we need a certain package, kali-archive-keyring2018.1all.deb
To get the deb file we use wget command.
The command is:
wget https://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2018.1_all.deb
Simple right?
Now how do we install the package? We use dpkg command and the -i flag to install the package, like so:
dpkg -i kali-archive-keyring2018.1all.deb
And now finally do,
apt update && apt upgrade
That's it!
I hope this will help anyone that ran into this issue.
Cheers!