I recently installed Kali as my main Operating System and ran into a problem. Whenever I do, apt-get update a error is returned:
"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 <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>"
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!
12 Responses
Hi! Everything was worked okay... at the third command. =/
Look, can you help me?
dpkg -i kali-archive-keyring2018.1all.deb
dpkg: error: cannot access archive 'kali-archive-keyring2018.1all.deb': No such file or directory
Thanks Buddy! I already got!
The exactly command is:
dpkg -i kali-archive-keyring2018.1all.deb
CHEERS!
Well, this page can't post the exactly command :P Sorry about the flood, this was the last.
dpkg -i kali-archive-keyring(underline)2018.1(underline)all.deb
just change the permissions
then it works
Great!
Thanks for sharing :D
Nice , It works !!
Small correction:-
Got Error:-
/var/cache/apt/archives# dpkg -i kali-archive-keyring2018.1all.deb
dpkg: error: cannot access archive 'kali-archive-keyring2018.1all.deb': No such file or directory
Reason: underscore missing in name 2018.1all.deb
Downloaded deb with name: kali-archive-keyring_2018.1_all.deb
root@pc:/var/cache/apt/archives# ls
kali-archive-keyring2018.1all.deb
root@pc:/var/cache/apt/archives# dpkg -i kali-archive-keyring_2018._all.deb
Its works for me man, thanks a lot
Thanks for this great tip, It Works for me
*Thanks a lot it worked for me .(^_^)/
Thanks a lot Man !! ;)
Thanks it worked for me.
dpkg -i kali-archive-keyring2018.1all.deb that's is the command main error is spelling mistake of file
Share Your Thoughts