Results 1 to 4 of 4

Thread: "Hash Sum missmatch" when installing packages

  1. #1
    Join Date
    2016-Mar
    Posts
    5

    "Hash Sum missmatch" when installing packages

    Hi everyone!

    I'm getting a couple of "Hash Sum mismatch" errors when trying to install packages or running "apt-get upgrade". I searched the forums and the usually recommended solution "rm -rf /var/lib/apt/lists/partial/*" unfortunately didn't help.

    my sources.list:
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    deb http://http.kali.org/kali kali-rolling main/debian-installer
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    output of apt-get upgrade:
    ...
    Get:1 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 gcc-5-base amd64 5.3.1-11 [169 kB]
    Get:2 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 libgfortran3 amd64 5.3.1-11 [253 kB]
    Get:3 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 libc6 amd64 2.21-9 [2,589 kB]
    Get:4 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 sysvinit-utils amd64 2.88dsf-59.3 [66.2 kB]
    Get:5 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 libperl5.22 amd64 5.22.1-8 [3,445 kB]
    Get:6 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 perl amd64 5.22.1-8 [237 kB]
    Err:6 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 perl amd64 5.22.1-8
    Hash Sum mismatch
    Get:7 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 perl-base amd64 5.22.1-8 [1,282 kB]
    Get:8 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 perl-modules-5.22 all 5.22.1-8 [2,695 kB]
    Err:8 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 perl-modules-5.22 all 5.22.1-8
    Hash Sum mismatch
    Get:9 http://ftp.halifax.rwth-aachen.de/kali kali-rolling/main amd64 init amd64 1.29+kali1 [6,966 B]


    The funny thing is that when I try to install a package that threw such errors separately, everything seems to work fine. For example, "apt-get install perl" terminates successfully.


    output of apt-key list:
    /etc/apt/trusted.gpg
    --------------------
    pub 4096R/1804772E 2014-11-24
    uid Emdebian Toolchain Archive (signing key)

    /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
    ----------------------------------------------------------
    pub 4096R/2B90D010 2014-11-21 [expires: 2022-11-19]
    uid Debian Archive Automatic Signing Key (8/jessie) <[email protected]>

    /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
    -------------------------------------------------------------------
    pub 4096R/C857C906 2014-11-21 [expires: 2022-11-19]
    uid Debian Security Archive Automatic Signing Key (8/jessie) <[email protected]>

    /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
    -------------------------------------------------------
    pub 4096R/518E17E1 2013-08-17 [expires: 2021-08-15]
    uid Jessie Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg
    -----------------------------------------------------------
    pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05]
    uid Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>

    /etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg
    --------------------------------------------------------
    pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
    uid Squeeze Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
    ----------------------------------------------------------
    pub 4096R/46925553 2012-04-27 [expires: 2020-04-25]
    uid Debian Archive Automatic Signing Key (7.0/wheezy) <[email protected]>

    /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg
    -------------------------------------------------------
    pub 4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
    uid Wheezy Stable Release Key <[email protected]>

    /etc/apt/trusted.gpg.d/kali-archive-keyring.gpg
    -----------------------------------------------
    pub 4096R/7D8D0BF6 2012-03-05 [expires: 2018-02-02]
    uid Kali Linux Repository <[email protected]>
    sub 4096R/FC0D0DCB 2012-03-05 [expires: 2018-02-02]



    Thanks for the help!

  2. #2
    Join Date
    2015-Jul
    Location
    /home/duxim
    Posts
    408
    delete in source list this
    deb http://http.kali.org/kali kali-rolling main/debian-installer (or comment it with #)
    and try again
    Repetitio est mater studiorum

  3. #3
    Join Date
    2016-Mar
    Posts
    5
    hi! thanks for the reply. i commented the line out, ran apt-get clean && apt-get update && apt-get upgrade but encountered the same errors. i also tried deleting the files in /var/lib/apt/lists/partial/* and rerunning this command, but it didn't help either.

  4. #4
    Join Date
    2015-Apr
    Posts
    29
    Quote Originally Posted by ben1144 View Post
    hi! thanks for the reply. i commented the line out, ran apt-get clean && apt-get update && apt-get upgrade but encountered the same errors. i also tried deleting the files in /var/lib/apt/lists/partial/* and rerunning this command, but it didn't help either.
    Is the computer at home or at work? I have the same issue with update and upgrade when at work. Bring the system home and do an update.

Similar Threads

  1. Replies: 0
    Last Post: 2022-04-14, 02:30
  2. Replies: 0
    Last Post: 2020-03-14, 21:39
  3. cannot download "metasploit-framework" and "exploitdb" packages
    By fsasse in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2016-08-01, 11:24
  4. download hash "shamu-lolliop" for NetHunter for Nexus 6
    By adlercm1 in forum Installing NetHunter
    Replies: 3
    Last Post: 2015-05-26, 09:15
  5. Replies: 4
    Last Post: 2014-05-21, 19:46

Posting Permissions

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