Results 1 to 4 of 4

Thread: update error Hash Sum mismatch

  1. #1
    Join Date
    2016-Sep
    Posts
    1

    update error Hash Sum mismatch

    hi
    i'm trying update but error:
    Code:
    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/main amd64 Packages [13.9 MB]
    Err:2 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 Packages 
      Hash Sum mismatch
      Hashes of expected file:
       - Checksum-FileSize:13916092 [weak]
       - SHA256:8d1dc133e36a2b0e4eddf7edfddd20fbc0c0dd8ccb7f4ae851731021b006934b
       - SHA1:bfe14432fcd4ab12e4fcd8686107eb7998faaa32 [weak]
       - MD5Sum:56bd556d12fd86340c4be97ea56de8f9 [weak]
      Hashes of received file:
       - SHA256:8c9e70c9ce6c322457a21f8c1339590259622be632a6a78644fa3c12a62e0a6e
       - SHA1:cb2b98fe9f5d58cb3758e38537bd9fcf68cdaef2 [weak]
       - MD5Sum:493e573d3a7129f8cefa489b819abc8b [weak]
       - Checksum-FileSize:13900479 [weak]
      Last modification reported: Tue, 23 Aug 2016 20:40:10 +0000
      Release file created at: Wed, 31 Aug 2016 12:21:27 +0000
    Get:3 http://kali.mirror.garr.it/mirrors/kali kali-rolling/contrib amd64 Packages [91.0 kB]
    Err:3 http://kali.mirror.garr.it/mirrors/kali kali-rolling/contrib amd64 Packages
      
    Get:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling/non-free amd64 Packages [150 kB]
    Err:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling/non-free amd64 Packages
      
    Fetched 14.2 MB in 14s (1,002 kB/s)                                            
    Reading package lists... Done
    E: Failed to fetch http://kali.mirror.garr.it/mirrors/kali/dists/kali-rolling/main/binary-amd64/Packages.gz  Hash Sum mismatch
       Hashes of expected file:
        - Checksum-FileSize:13916092 [weak]
        - SHA256:8d1dc133e36a2b0e4eddf7edfddd20fbc0c0dd8ccb7f4ae851731021b006934b
        - SHA1:bfe14432fcd4ab12e4fcd8686107eb7998faaa32 [weak]
        - MD5Sum:56bd556d12fd86340c4be97ea56de8f9 [weak]
       Hashes of received file:
        - SHA256:8c9e70c9ce6c322457a21f8c1339590259622be632a6a78644fa3c12a62e0a6e
        - SHA1:cb2b98fe9f5d58cb3758e38537bd9fcf68cdaef2 [weak]
        - MD5Sum:493e573d3a7129f8cefa489b819abc8b [weak]
        - Checksum-FileSize:13900479 [weak]
       Last modification reported: Tue, 23 Aug 2016 20:40:10 +0000
       Release file created at: Wed, 31 Aug 2016 12:21:27 +0000
    E: Failed to fetch http://kali.mirror.garr.it/mirrors/kali/dists/kali-rolling/contrib/binary-amd64/Packages.gz  
    E: Failed to fetch http://kali.mirror.garr.it/mirrors/kali/dists/kali-rolling/non-free/binary-amd64/Packages.gz  
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    Code:
    sources.list
    # 
    
    # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
    
     deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    Code:
    cat /proc/version 
    Linux version 4.6.0-kali1-amd64 ([email protected]) (gcc version 5.4.0 20160609 (Debian 5.4.0-6) ) #1 SMP Debian 4.6.4-1kali1 (2016-07-21)

  2. #2
    Join Date
    2016-Oct
    Posts
    2
    already have the solution please comment it I feel the same

  3. #3
    Join Date
    2017-Feb
    Location
    Malaysia
    Posts
    1
    I've encountered "Hash Sum mismatch" too, most likely the mirror is bad.

    So, visits http://http.kali.org/README.mirrorlist with your web browser.

    Then choose another mirror, and replace the host with this new mirror in `/etc/apt/sources.list`, e.g.:

    deb http://<your new mirror>/kali kali-rolling main non-free contrib
    Note that if the mirror too slow, you don't have to waste your time, you should stop it by Ctrl+C and change it to another mirror.

    This solved my problem

  4. #4
    Join Date
    2015-Aug
    Posts
    19
    <Hash Sum Mismatch> is actually one of the most irritating problems I've faced. To solve this problem just change the mirror you have been using.

    Go to this site http://http.kali.org/README.mirrorlist for the list of mirrors. You will also find some suggested mirrorlist near your region (Country).
    You can try using one of those first.

    Then, first Open your source file "/etc/apt/sources.list". You might see your file similar to this.

    Code:
    # 
    
    # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free
    
    #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free
    
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    #deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    For eg. lets use http://ftp.hands.com/kali/README

    Replace
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    with
    deb http://ftp.hands.com/kali kali-rolling main contrib non-free
    we just replace the part in between http://<some link part>/kali

    Replace similarly if you want deb-src package too.

    In this link
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    what actually happens, is the bold part is replaced with the nearest and best mirror according to your region.

    The problem was actually with the mirror used. Just change to other mirroe as given in the link if any problem provided by one.

    Hope it helped.

Similar Threads

  1. Hash sum mismatch on apt update
    By b33l238u8 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-02-07, 17:46
  2. Hash Sum mismatch on apt update
    By RouNdeL in forum TroubleShooting Archive
    Replies: 7
    Last Post: 2020-09-20, 12:40
  3. Replies: 2
    Last Post: 2017-10-22, 02:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •