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:]

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: kali/updates Release: The following signatures were invalid: KEYEXPIRED 1425567400 KEYEXPIRED 1425567400 KEYEXPIRED 1425567400

I struggled with it a little bit and then went down googling and as a result found maiden link that provided solution which was

The post was merely a day old and I tried first out of the two given solutions and it worked for me.

I tried the following solution and it worked:
# apt-key adv --keyserver hkp:// --recv-keys 7D8D0BF6

You may visit the link to find the other solution.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.