Results 1 to 5 of 5

Thread: kali 2016.2 HashSum Error when running apt-get update

  1. #1
    Join Date
    2017-Jan
    Posts
    3

    kali 2016.2 HashSum Error when running apt-get update

    Hello, thanks for spending your time in reading this. I just installed Kali on VirtualBox and wanted to install VirtualBox Guest Additions. I was following the instructions to first run apt-get update but I keep having this issue where there is an HashSum error that appeared. I have updated my sources.list repository to the latest "deb http://http.kali.org/kali kali-rolling main contrib non-free" before running the update.

    I've listed the error report below. Thank you.

    ------------------------------------------------------------------------------------------------------------------------------------

    root@kali:~# apt-get update
    Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]
    Get:3 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/contrib Sources [68.1 kB]
    Get:4 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/non-free Sources [126 kB]
    Get:2 http://58.27.38.8/ftp.yzu.edu.tw/Linux/kali kali-rolling/main Sources [11.1 MB]
    Get:6 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/contrib amd64 Packages [107 kB]
    Get:7 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/non-free amd64 Packages [164 kB]
    Get:5 http://58.27.38.6/ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 Packages [15.1 MB]
    Err:2 http://58.27.38.8/ftp.yzu.edu.tw/Linux/kali kali-rolling/main Sources
    Hash Sum mismatch
    Hashes of expected file:
    - Checksum-FileSize:11108440 [weak]
    - SHA256:eb70ee264bfb079985355d367a2a54995358221a669 b610330244bc0d8b5d9b6
    - SHA1:9c3b47a15616786a072d929dd15e3b8375ee3eec [weak]
    - MD5Sum:a7ebf4eb6aece626dc1009f3f538f9e4 [weak]
    Hashes of received file:
    - SHA256:a65ff2e528431b34e4672617f0196d85870a7d85a19 0caa082995fcdca04cb30
    - SHA1:e815ae65eb49bb74d7200f645cd14c365a4bdea1 [weak]
    - MD5Sum:43ab18bca6714f47928de14e5160ecf7 [weak]
    - Checksum-FileSize:11108717 [weak]
    Last modification reported: Wed, 18 Jan 2017 00:03:54 +0000
    Release file created at: Wed, 18 Jan 2017 12:20:56 +0000
    Err:5 http://58.27.38.6/ftp.yzu.edu.tw/Linux/kali kali-rolling/main amd64 Packages

    Fetched 26.2 MB in 1min 6s (395 kB/s)
    Reading package lists... Done
    E: Failed to fetch http://58.27.38.8/ftp.yzu.edu.tw/Lin...rce/Sources.gz Hash Sum mismatch
    Hashes of expected file:
    - Checksum-FileSize:11108440 [weak]
    - SHA256:eb70ee264bfb079985355d367a2a54995358221a669 b610330244bc0d8b5d9b6
    - SHA1:9c3b47a15616786a072d929dd15e3b8375ee3eec [weak]
    - MD5Sum:a7ebf4eb6aece626dc1009f3f538f9e4 [weak]
    Hashes of received file:
    - SHA256:a65ff2e528431b34e4672617f0196d85870a7d85a19 0caa082995fcdca04cb30
    - SHA1:e815ae65eb49bb74d7200f645cd14c365a4bdea1 [weak]
    - MD5Sum:43ab18bca6714f47928de14e5160ecf7 [weak]
    - Checksum-FileSize:11108717 [weak]
    Last modification reported: Wed, 18 Jan 2017 00:03:54 +0000
    Release file created at: Wed, 18 Jan 2017 12:20:56 +0000
    E: Failed to fetch http://58.27.38.6/ftp.yzu.edu.tw/Lin...64/Packages.gz
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@kali:~#

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    You may have updated your repository but i still want to request to show the output of cat /etc/apt/sources.list

  3. #3
    Join Date
    2017-Jan
    Posts
    3
    Hi defalt,

    This is the result of the sources list. Thanks!

    root@kali:~# cat /etc/apt/sources.list
    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

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Your repositories are incorrect.
    Uncomment the 2nd entry by putting # like this.

    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free

  5. #5
    Join Date
    2017-Jan
    Posts
    3
    [Resolved] I've tried to re-run the apt-get update the next day and managed to run it successfully without error already. Thanks for your help defalt!

Similar Threads

  1. Error running VBox VM on Kali 2016.2
    By SiberzK in forum General Archive
    Replies: 1
    Last Post: 2016-09-27, 19:30
  2. Can't update with apt-get (Hashsum miss match)
    By Kai Obaru in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2015-09-07, 17:24

Posting Permissions

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