Saturday, March 07, 2015

Fix update/upgrade errors in Kali Linux

[This is post is for older release. If you are looking for fixing errors in Rolling Release (2016.1) go to this link: http://com.puter.tips/2016/08/fix-updateupgrade-errors-in-kali-linux.html]

If you are among the users who are getting errors while updating or upgrading in Kali Linux then your worries are over. I had the same issue and have found a solution.

The errors occurs when performing any of the following commands:
#apt-get update
#apt-get upgrade
#apt-get dist-upgrade

and even if you try --fix-missing parameter with above commands it does not help!

One of the error looks like:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.kali.org kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400