Results 1 to 2 of 2

Thread: apt-get sources seems corrupted

  1. #1

    apt-get sources seems corrupted

    I can't seem to get updates for kali linux or metasploit any more.. sources file seems to have bad urls or something.. i don't know how to fix this.. could someone help.

    this is what i get when i call msfupdate
    [*] Checking for updates via the APT repository[*] Note: expect weekly(ish) updates using this method
    W: Failed to fetch http://download.virtualbox.org/virtu.../vivid/Release Unable to find expected entry 'contrib/source/Sources' in Release file (Wrong sources.list entry or malformed file)

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

    W: Failed to fetch http://http.kali.org/kali/dists/kali...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://http.kali.org/kali/dists/kali...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://http.kali.org/kali/dists/kali...source/Sources 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://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://http.kali.org/kali/dists/kali...amd64/Packages 404 Not Found

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

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

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

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

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

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

    E: Some index files failed to download. They have been ignored, or old ones used instead.[*] No updates available


    and when i call apt-get update

    apt-get update
    Ign http://security.kali.org kali/updates Release.gpg
    Ign http://http.kali.org kali Release.gpg
    Hit http://download.virtualbox.org vivid Release.gpg
    Ign http://security.kali.org kali/updates Release
    Ign http://http.kali.org kali Release
    Ign http://security.kali.org kali/updates/main Sources/DiffIndex
    Ign http://http.kali.org kali/main Sources/DiffIndex
    Ign http://security.kali.org kali/updates/contrib Sources/DiffIndex
    Ign http://http.kali.org kali/non-free Sources/DiffIndex
    Hit http://download.virtualbox.org vivid Release
    Ign http://security.kali.org kali/updates/non-free Sources/DiffIndex
    Ign http://http.kali.org kali/contrib Sources/DiffIndex
    Ign http://security.kali.org kali/updates/main amd64 Packages/DiffIndex
    Ign http://http.kali.org kali/main amd64 Packages/DiffIndex
    Ign http://security.kali.org kali/updates/contrib amd64 Packages/DiffIndex
    Ign http://http.kali.org kali/non-free amd64 Packages/DiffIndex
    Ign http://security.kali.org kali/updates/non-free amd64 Packages/DiffIndex
    Ign http://http.kali.org kali/contrib amd64 Packages/DiffIndex
    Ign http://security.kali.org kali/updates/main i386 Packages/DiffIndex
    Ign http://http.kali.org kali/main i386 Packages/DiffIndex
    Ign http://security.kali.org kali/updates/contrib i386 Packages/DiffIndex
    Ign http://http.kali.org kali/non-free i386 Packages/DiffIndex
    Ign http://security.kali.org kali/updates/non-free i386 Packages/DiffIndex
    Ign http://http.kali.org kali/contrib i386 Packages/DiffIndex
    Ign http://http.kali.org kali/contrib Translation-en_US
    Ign http://http.kali.org kali/contrib Translation-en
    Ign http://security.kali.org kali/updates/contrib Translation-en_US
    Ign http://http.kali.org kali/main Translation-en_US
    Ign http://security.kali.org kali/updates/contrib Translation-en
    Ign http://http.kali.org kali/main Translation-en
    Ign http://security.kali.org kali/updates/main Translation-en_US
    Ign http://http.kali.org kali/non-free Translation-en_US
    Ign http://security.kali.org kali/updates/main Translation-en
    Ign http://http.kali.org kali/non-free Translation-en
    Ign http://security.kali.org kali/updates/non-free Translation-en_US
    Err http://http.kali.org kali/main Sources
    404 Not Found
    Ign http://security.kali.org kali/updates/non-free Translation-en
    Err http://http.kali.org kali/non-free Sources
    404 Not Found
    Err http://security.kali.org kali/updates/main Sources
    404 Not Found
    Err http://security.kali.org kali/updates/contrib Sources
    404 Not Found
    Err http://http.kali.org kali/contrib Sources
    404 Not Found
    Err http://security.kali.org kali/updates/non-free Sources
    404 Not Found
    Err http://http.kali.org kali/main amd64 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/main amd64 Packages
    404 Not Found
    Err http://http.kali.org kali/non-free amd64 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/contrib amd64 Packages
    404 Not Found
    Err http://http.kali.org kali/contrib 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/main i386 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/main i386 Packages
    404 Not Found
    Err http://http.kali.org kali/non-free i386 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/contrib i386 Packages
    404 Not Found
    Err http://http.kali.org kali/contrib i386 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/non-free i386 Packages
    404 Not Found
    W: Failed to fetch http://download.virtualbox.org/virtu.../vivid/Release Unable to find expected entry 'contrib/source/Sources' in Release file (Wrong sources.list entry or malformed file)

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

    W: Failed to fetch http://http.kali.org/kali/dists/kali...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://http.kali.org/kali/dists/kali...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://http.kali.org/kali/dists/kali...source/Sources 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://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://http.kali.org/kali/dists/kali...amd64/Packages 404 Not Found

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

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

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

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

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

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

    E: Some index files failed to download. They have been ignored, or old ones used instead.
    root@kali:~#

  2. #2
    Already been answered. Please search before posting: https://forums.kali.org/showthread.p...ll=1#post52376
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

Similar Threads

  1. Replies: 0
    Last Post: 2020-07-22, 01:44
  2. Corrupted tarfile.
    By PandorasBox in forum Building Archive
    Replies: 3
    Last Post: 2017-10-26, 18:20
  3. My Kali 2.0 corrupted after update?? NEED HELP
    By real0001 in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2015-12-30, 16:07

Posting Permissions

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