Fix Kali Linux Hash Sum mismatch

Hash Sum mismatch Kali Linux 2017.1
Kali Linux update Hash Sum mismatch

Few days ago i got sometime to setup Kali Linux 2017.1 on VMware everything seems fine until i tried to update it using apt-get update i get this annoying error

[error title="Error message" icon="exclamation-circle"]apt-get update
Get:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease [30.5 kB]
Get:2 http://kali.mirror.garr.it/mirrors/kali kali-rolling/contrib Sources [66.1 kB]
Get:3 http://kali.mirror.garr.it/mirrors/kali kali-rolling/non-free Sources [124 kB]
Get:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main Sources [11.0 MB]
Get:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main Sources [11.0 MB]
Err:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main Sources
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:11015732 [weak]
   - SHA256:b20b6264d4bd5200e6e3cf319df56bd7fea9b2ff5c9dbd44f3e7e530a6e6b9e0
   - SHA1:2d8b15ab8109d678fe1810800e0be8ce3be87201 [weak]
   - MD5Sum:d0b5f94ba474b31f00f8911ac78258ec [weak]
  Hashes of received file:
   - SHA256:a7b9ca82fc1a400b2e81b2ebc938542abfdbfa5aecdfa8744f60571746ec967b
   - SHA1:5d870530aa87398dcb11ecb07e6a25ca0746985f [weak]
   - MD5Sum:9a4824220c0a5fa6cb74390851116b73 [weak]
   - Filesize:9828918 [weak]
  Last modification reported: Wed, 23 Dec 2015 00:03:15 +0000
  Release file created at: Thu, 01 Jun 2017 12:15:05 +0000
Get:5 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main i386 Packages [15.0 MB]
Get:6 http://kali.mirror.garr.it/mirrors/kali kali-rolling/contrib i386 Packages [98.7 kB]
Get:7 http://kali.mirror.garr.it/mirrors/kali kali-rolling/non-free i386 Packages [145 kB]
Fetched 25.3 MB in 11min 20s (37.2 kB/s)                               
Reading package lists... Done
E: Failed to fetch http://kali.mirror.garr.it/mirrors/kali/dists/kali-rolling/main/source/Sources.gz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:11015732 [weak]
    - SHA256:b20b6264d4bd5200e6e3cf319df56bd7fea9b2ff5c9dbd44f3e7e530a6e6b9e0
    - SHA1:2d8b15ab8109d678fe1810800e0be8ce3be87201 [weak]
    - MD5Sum:d0b5f94ba474b31f00f8911ac78258ec [weak]
   Hashes of received file:
    - SHA256:a7b9ca82fc1a400b2e81b2ebc938542abfdbfa5aecdfa8744f60571746ec967b
    - SHA1:5d870530aa87398dcb11ecb07e6a25ca0746985f [weak]
    - MD5Sum:9a4824220c0a5fa6cb74390851116b73 [weak]
    - Filesize:9828918 [weak]
   Last modification reported: Wed, 23 Dec 2015 00:03:15 +0000
   Release file created at: Thu, 01 Jun 2017 12:15:05 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
[/error]
the problem is clearly must be in the sources.list file of  Kali Linux ... i have tried to fix it in many ways but i always end up where i started Hash Sum mismatch is showing up over and over , things seems too complicated for me but the fix was simple really simple ! and here it is
update your Repositories in sources.list file to :
[success title="Repositories Lines" icon="check-circle"]#deb http://http.kali.org/kali kali-rolling main non-free contrib
deb http://repo.kali.org/kali kali-rolling main non-free contrib
[/success]
To do so Follow those steps
open Terminal as root and follow those command :
leafpad /etc/apt/sources.list
on the new Windows ( text file )
remove every line of code
and add this  Repositories [success title="Repositories Lines" icon="check-circle"]deb http://repo.kali.org/kali kali-rolling main non-free contrib
[/success]
Save and close the file
Clean, update, upgrade and dist-upgrade your Kali installation
1apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
I hope this works for you and if it didn't let me know on the comment 

How to fix Kali Linux Hash Sum mismatch Sources.gz Hash Sum mismatch Hashes of expected file:

Post a Comment

[blogger]

Author Name

{picture#YOUR_PROFILE_PICTURE_URL} YOUR_PROFILE_DESCRIPTION {facebook#https://www.facebook.com/wTsXDev} {twitter#https://twitter.com/wTsDev} {google#https://plus.google.com/u/0/+AnonSalame} {pinterest#https://www.pinterest.com/Thexwts/} {youtube#https://www.youtube.com/channel/UCg2fUa8Yp-aWDCJYQTVHmBg}

Contact Form

Name

Email *

Message *

Powered by Blogger.