Forum Thread: Kali Linux Unable to Update to Upgrade

I recently upgraded to the new kali linux rolling and found myself unable to get updates as i constantly get 404 error and 'hash sum error mismatch'

I then tried to apt-get upgrade but also produce the same results

This is my source list

I was also unable to install the linux headers

Can someone pls help me ? I tried many sources but no to avail ,thanks in advanced

9 Responses

I did not upgrade from sana to rolling i download the iso from the offical site and start from scratch and the checksum was correct., I'm sure i configured the source list correctly but still got 404 error and hash sum mismatch

at 48% of dist-upgrading it is stopping,plz guide me what i want to do...

man you saved my life thanks man it worked after a long day u saved me thanks a lot man

Put a # in front of lines:
3rd, 4th, 6th and 7th

then:
apt-get clean
apt-get update
apt-get dist-upgrade
reboot

I tried it but still getting errors, i then tried using a Vpn to get updates and somehow it work I'm not from US so i think somewhat the mirrors in my country is broken or maybe my isp is blocking it. what should i do as using Vpn to get updates takes a long time ...

if you login as root, you don't need to use sudo command. Just type
apt update
or
apt upgrade

Correct, we try to include sudo for those that might not know better.

After run dist-upgrade, apt-get install update command might not work. Deep search I found solution is just apt update. :)

Share Your Thoughts

  • Hot
  • Active