Results 1 to 5 of 5

Thread: apt-get update upgrade 404 not found

  1. #1
    Join Date
    2016-Jan
    Posts
    2

    apt-get update upgrade 404 not found

    I've been getting 404 errors on apt-get update/upgrade/dist-upgrade for the past few days. How do I fix this on this Kali 2 box? thanks
    I have rebooted and tried pointing to other mirrors with no luck.

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


    Errors:
    Err http://security.kali.org kali/updates/main amd64 Packages
    404 Not Found
    Ign http://http.kali.org kali/non-free Translation-en
    Err http://security.kali.org kali/updates/contrib amd64 Packages
    404 Not Found
    Err http://http.kali.org kali/main amd64 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/non-free amd64 Packages
    404 Not Found
    Err http://http.kali.org kali/non-free amd64 Packages
    404 Not Found
    Err http://http.kali.org kali/contrib amd64 Packages
    404 Not Found
    W: Failed to fetch http://security.kali.org/kali-securi...amd64/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...amd64/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...amd64/Packages 404 Not Found

    W: Failed to fetch http://security.kali.org/kali-securi...amd64/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...amd64/Packages 404 Not Found

    W: Failed to fetch http://http.kali.org/kali/dists/kali...amd64/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.

  2. #2
    Join Date
    2014-Nov
    Posts
    10
    It seems like you don't have the right url in your source.list file. Change the source.list content to :

    Code:
    deb http://http.kali.org/kali sana main non-free contrib
    deb-src http://http.kali.org/kali sana main non-free contrib
    
    deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
    deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-fr
    ee
    That should do

  3. #3
    Join Date
    2016-Jan
    Posts
    2
    Thanks, that fixed it.

  4. #4
    Join Date
    2015-Oct
    Posts
    2

    Not working. Some index files failed to download

    Quote Originally Posted by haken29a View Post
    It seems like you don't have the right url in your source.list file. Change the source.list content to :

    Code:
    deb http://http.kali.org/kali sana main non-free contrib
    deb-src http://http.kali.org/kali sana main non-free contrib
    
    deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
    deb-src http://security.kali.org/kali-security/ sana/updates main contrib non-fr
    ee
    That should do
    I tried many options. I am unable to figure out where the repo for http://ftp.ne.jp.... is defined. the error I get
    Ign:27 http://ftp.ne.jp/Linux/packages/kali/kali-security sana/updates/non-free i386 Packages
    Ign:33 http://http.kali.org/kali sana/contrib Translation-en
    Ign:29 http://security.kali.org/kali-security sana/updates/non-free all Packages
    Err:6 http://ftp.ne.jp/Linux/packages/kali/kali sana/main Sources
    404 Not Found
    Ign:32 http://security.kali.org/kali-security sana/updates/non-free Translation-en_US
    Err:8 http://ftp.ne.jp/Linux/packages/kali/kali sana/non-free Sources
    404 Not Found
    Ign:34 http://security.kali.org/kali-security sana/updates/non-free Translation-en
    Err:10 http://ftp.ne.jp/Linux/packages/kali/kali sana/contrib Sources
    404 Not Found
    Err:5 http://ftp.ne.jp/Linux/packages/kali/kali-security sana/updates/main Sources
    404 Not Found
    Err:7 http://ftp.ne.jp/Linux/packages/kali/kali-security sana/updates/contrib Sources
    404 Not Found
    Err:9 http://ftp.ne.jp/Linux/packages/kali/kali-security sana/updates/non-free Sources
    404 Not Found
    Err:12 http://ftp.ne.jp/Linux/packages/kali/kali sana/main i386 Packages
    404 Not Found
    Ign:14 http://http.kali.org/kali sana/main all Packages
    Err:11 http://ftp.ne.jp/Linux/packages/kali/kali-security sana/updates/main i386 Packages
    404 Not Found
    Ign:16 http://http.kali.org/kali sana/main Translation-en_US
    Ign:13 http://security.kali.org/kali-security sana/updates/main all Packages
    Ign:18 http://http.kali.org/kali sana/main Translation-en
    Ign:15 http://security.kali.org/kali-security sana/updates/main Translation-en_US
    Ign:17 http://security.kali.org/kali-security sana/updates/main Translation-en
    Err:20 http://ftp.ne.jp/Linux/packages/kali/kali sana/non-free i386 Packages
    404 Not Found
    Ign:22 http://http.kali.org/kali sana/non-free all Packages
    Err:19 http://ftp.ne.jp/Linux/packages/kali/kali-security sana/updates/contrib i386 Packages
    404 Not Found
    Ign:24 http://http.kali.org/kali sana/non-free Translation-en_US
    Ign:21 http://security.kali.org/kali-security sana/updates/contrib all Packages
    Ign:26 http://http.kali.org/kali sana/non-free Translation-en
    Ign:23 http://security.kali.org/kali-security sana/updates/contrib Translation-en_US
    Ign:25 http://security.kali.org/kali-security sana/updates/contrib Translation-en
    Reading package lists... Done
    W: The repository 'http://security.kali.org/kali-security sana/updates Release' does not have a Release file.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: The repository 'http://http.kali.org/kali sana Release' does not have a Release file.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: Failed to fetch http://security.kali.org/kali-securi...source/Sources 404 Not Found
    W: Failed to fetch http://security.kali.org/kali-securi...source/Sources 404 Not Found
    W: Failed to fetch http://security.kali.org/kali-securi...source/Sources 404 Not Found
    W: Failed to fetch http://ftp.ne.jp/Linux/packages/kali...-i386/Packages 404 Not Found
    W: Failed to fetch http://ftp.ne.jp/Linux/packages/kali...-i386/Packages 404 Not Found
    W: Failed to fetch http://http.kali.org/kali/dists/sana...source/Sources 404 Not Found
    W: Failed to fetch http://http.kali.org/kali/dists/sana...source/Sources 404 Not Found
    W: Failed to fetch http://http.kali.org/kali/dists/sana...source/Sources 404 Not Found
    W: Failed to fetch http://ftp.ne.jp/Linux/packages/kali...-i386/Packages 404 Not Found
    W: Failed to fetch http://ftp.ne.jp/Linux/packages/kali...-i386/Packages 404 Not Found
    E: Some index files failed to download. They have been ignored, or old ones used instead.


    please help. I've been breaking my head with this for almost a day.

    Regards,
    Prashanth

  5. #5
    Join Date
    2016-Apr
    Posts
    3
    use rolling repos and i think it use mirros auto

Similar Threads

  1. Kali Update && Upgrade && dist-upgrade Error
    By Dickz in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2017-09-12, 07: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
  •