Results 1 to 8 of 8

Thread: sudo apt-get update not working

  1. #1
    Join Date
    2018-Feb
    Posts
    2

    Exclamation sudo apt-get update not working

    Kali GNU/Linux Rolling
    Release: 2020.3
    instalation: SD


    after typing
    Code:
    sudo apt-get update
    I get: [/CODE]Ign:1 https://kali.download/kali https://https.kali.org/kali InRelease
    Err:2 https://kali.download/kali https://https.kali.org/kali Release
    404 Not Found [IP: 104.18.102.100 443]
    Err:3 http://https.kali.org/kali kali-rolling InRelease
    Could not resolve 'https.kali.org'
    Reading package lists... Done
    E: The repository 'https://kali.download/kali https://https.kali.org/kali Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.[/CODE]
    other problems: https://forums.kali.org/showthread.p...ration+details.
    https://forums.kali.org/showthread.p...ation+details.
    https://forums.kali.org/showthread.p...ation+details.
    https://forums.kali.org/showthread.p...ation+details.
    I have tried: changing the sources.list and re4son.list files and adding keys ( I can't say what exactly I did because the forums won't let me open another page and all things I tried resulted in no difference (but I think I accidently messed up the re4son file and can't figure out how to change it back)

    re4son:

    deb http://kali.download/kali https://https.kali.org/kali main contrib non-free


    #deb-src https://kali.download/kali https://https.kali.org/kali main contrib non-free


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

    sources.list:

    #


    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20140108-18:08]/ kali contrib main non-free


    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20140108-18:08]/ kali contrib main non-free


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


    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    Attached Files Attached Files

  2. #2
    Join Date
    2020-Apr
    Posts
    10
    This seems to happen somewhat regularly with various Kali mirror repositories. Something just gets messed up on one or more mirrors and you're stuck not being able to update for a while. There's nothing you can do except wait it out. Try tomorrow, or a week from now, or do some DNS magic or reconfiguration of your sources.list to force a particular mirror that you know is working (which, of course, involves trial and error). Sorry!

  3. #3
    Join Date
    2020-Sep
    Posts
    1
    I have a raspberry, changing the repository for the following one I have been able to update:

    nano /etc/apt/sources.list
    deb http://http:kali.org/kali kali-rolling main contrib non-free

  4. #4
    Join Date
    2016-May
    Location
    /dev/random
    Posts
    4

    kali-rolling.

    change

    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    Code:
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib
    Exploit Code Not People!

  5. #5
    Join Date
    2020-Apr
    Posts
    10
    This turned out to be my problem as well. For some reason the Raspberry Pi 3 image ships with a broken sources.list! The line looks like this:

    deb http://kali.download/kali https://https.kali.org/kali main contrib non-free

    And it should be this:

    deb http://kali.download/kali kali-rolling main contrib non-free

  6. #6
    Join Date
    2018-May
    Posts
    24
    Quote Originally Posted by ariok View Post
    I have a raspberry, changing the repository for the following one I have been able to update:

    nano /etc/apt/sources.list
    deb http://http:kali.org/kali kali-rolling main contrib non-free
    Had the same problem, tried on my Pi 4 and it worked, thanks man

  7. #7
    Join Date
    2020-Oct
    Posts
    1
    Hello every One,

    I am also facing issue. I have download the yesterday new img from the Kali Linux 64-bit VirtualBox and now when i am runing the SUDO APT UPDATE I am getting error Kindly support this is 5 time that I have downloaded and I am trying to see it is showing error
    below is complete errror message
    Get:1 http://ftp.harukasan.org/kali kali-rolling InRelease [30.5 kB]
    Get:2 http://ftp.harukasan.org/kali kali-rolling/main amd64 Packages [16.6 MB]
    Err:2 http://ftp.harukasan.org/kali kali-rolling/main amd64 Packages
    Hash Sum mismatch
    Hashes of expected file:
    - Filesize:16601990 [weak]
    - SHA256:5f2cd78576610460c5bc3556e88881c6b7d9c45bc59 2991ded2e8186caad6e48
    - SHA1:c60ed0fc386d20b31df56c19a0846e644134cc58 [weak]
    - MD5Sum:69a35907fae85079ccf9a79fb5ec63ea [weak]
    Hashes of received file:
    - SHA256:f4c1b6d6b67499d5ff2331678449216f419092cc546 7c5954934427fdf2cad80
    - SHA1:d8ca3af1a9b4f98904b1460748c693b3ad76f467 [weak]
    - MD5Sum:69a35907fae85079ccf9a79fb5ec63ea [weak]
    - Filesize:16601990 [weak]
    Last modification reported: Fri, 02 Oct 2020 06:11:30 +0000
    Release file created at: Fri, 02 Oct 2020 06:12:24 +0000
    Get:3 http://ftp.harukasan.org/kali kali-rolling/contrib amd64 Packages [100 kB]
    Get:4 http://ftp.harukasan.org/kali kali-rolling/non-free amd64 Packages [200 kB]
    Fetched 16.9 MB in 49s (343 kB/s)
    Reading package lists... Done
    E: Failed to fetch http://ftp.harukasan.org/kali/dists/...64/Packages.gz Hash Sum mismatch
    Hashes of expected file:
    - Filesize:16601990 [weak]
    - SHA256:5f2cd78576610460c5bc3556e88881c6b7d9c45bc59 2991ded2e8186caad6e48
    - SHA1:c60ed0fc386d20b31df56c19a0846e644134cc58 [weak]
    - MD5Sum:69a35907fae85079ccf9a79fb5ec63ea [weak]
    Hashes of received file:
    - SHA256:f4c1b6d6b67499d5ff2331678449216f419092cc546 7c5954934427fdf2cad80
    - SHA1:d8ca3af1a9b4f98904b1460748c693b3ad76f467 [weak]
    - MD5Sum:69a35907fae85079ccf9a79fb5ec63ea [weak]
    - Filesize:16601990 [weak]
    Last modification reported: Fri, 02 Oct 2020 06:11:30 +0000
    Release file created at: Fri, 02 Oct 2020 06:12:24 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.



    Please support me

  8. #8
    Join Date
    2015-Feb
    Posts
    2
    I had the same issue and I solved it using a VPN connection so I would get another mirror.

Similar Threads

  1. i am having issue with sudo apt-get update please help me...
    By nrutyang in forum Community Feedback
    Replies: 5
    Last Post: 2021-04-06, 15:07
  2. Im having trouble with sudo apt-get update
    By mrbear1 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2020-08-27, 06:30
  3. i am having issue with sudo apt-get update please help me...
    By nrutyang in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-08-18, 08:36

Tags for this Thread

Posting Permissions

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