Results 1 to 8 of 8

Thread: error while updating

  1. #1

    error while updating

    root@shell:~# apt-get update
    Ign http://http.kali.org kali Release.gpg
    Ign http://security.kali.org kali/updates Release.gpg
    Ign http://http.kali.org kali Release
    Ign http://security.kali.org kali/updates Release
    Ign http://http.kali.org kali/main Sources/DiffIndex
    Ign http://security.kali.org kali/updates/main i386 Packages/DiffIndex
    Ign http://http.kali.org kali/non-free Sources/DiffIndex
    Ign http://security.kali.org kali/updates/contrib i386 Packages/DiffIndex
    Ign http://http.kali.org kali/contrib Sources/DiffIndex
    Ign http://security.kali.org kali/updates/non-free i386 Packages/DiffIndex
    Ign http://http.kali.org kali/main i386 Packages/DiffIndex
    Ign http://http.kali.org kali/non-free i386 Packages/DiffIndex
    Ign http://http.kali.org kali/contrib i386 Packages/DiffIndex
    Ign http://security.kali.org kali/updates/contrib Translation-en_US
    Ign http://security.kali.org kali/updates/contrib Translation-en
    Ign http://security.kali.org kali/updates/main Translation-en_US
    Ign http://security.kali.org kali/updates/main Translation-en
    Ign http://security.kali.org kali/updates/non-free Translation-en_US
    Ign http://security.kali.org kali/updates/non-free Translation-en
    Err http://security.kali.org kali/updates/main i386 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/contrib i386 Packages
    404 Not Found
    Err http://security.kali.org kali/updates/non-free i386 Packages
    404 Not Found
    Ign http://http.kali.org kali/contrib Translation-en_US
    Ign http://http.kali.org kali/contrib Translation-en
    Ign http://http.kali.org kali/main Translation-en_US
    Ign http://http.kali.org kali/main Translation-en
    Ign http://http.kali.org kali/non-free Translation-en_US
    Ign http://http.kali.org kali/non-free Translation-en
    Err http://http.kali.org kali/main Sources
    404 Not Found
    Err http://http.kali.org kali/non-free Sources
    404 Not Found
    Err http://http.kali.org kali/contrib Sources
    404 Not Found
    Err http://http.kali.org kali/main i386 Packages
    404 Not Found
    Err http://http.kali.org kali/non-free i386 Packages
    404 Not Found
    Err http://http.kali.org kali/contrib i386 Packages
    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...-i386/Packages 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...-i386/Packages 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...-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://http.kali.org/kali/dists/kali...-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@shell:~# leafpad /etc/apt/sources.list

    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20141002-11:29]/ kali contrib main non-free
    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20141002-11:29]/ 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

  2. #2
    Join Date
    2015-Oct
    Posts
    3
    Hi,
    have u tried this??
    in the
    /etc/apt/sources.list

    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free

  3. #3
    BTW i forgot to mention
    that i just updated OS from 1.1 so maybe m getting error because of that


    also i was reading some kali docs
    & found this
    http://docs.kali.org/general-use/kal...t-repositories


    i was thinking about adding all these in sources file
    deb 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://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free


    is it ok ????

    & sorry for the noobish question
    but please explain what are Source repositories ????

  4. #4
    Join Date
    2015-Oct
    Location
    Switzerland
    Posts
    33
    Hi there,

    at this point I would suggest you to read this: https://forums.kali.org/showthread.p...-get-update%29
    It's an earlier forum post about the same problem.
    To solve the problem, take a look at this page: https://www.kali.org/news/kali-moto-eol/

    Or just follow the steps of CodeZer0 --> He was right

    Regards, reidamaxia

  5. #5
    ok i just replaced everything in sources.list with

    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free


    & apt-get update worked without any error
    then i tried to install pixiedust

    i got this error


    error: pcap library not found!

    i searched on google

    a person on a forum used this command
    " apt-get install libpcap-dev libssl-dev libsqlite3-dev0"

    root@shell:~# apt-get install libpcap-dev libssl-dev libsqlite3-dev0
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package libsqlite3-dev0
    root@shell:~#


    again searched on google
    found a blog which says add this line in sources.list

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

    did that
    now again 404 not found error

  6. #6
    i think i have to add these lines
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

    for kali 2.0


    am i correct
    i am asking again & again because
    a friend of mine told me he added some lines in sources.list
    & after then he updated & upgraded

    & when he restarted his PC he found that he lost terminal & OS is alsonot working properly

    he said he added some sources which were for developerls only

    i dont want to witness same situation

  7. #7
    dont know how
    but after my last restart i lost my taskbar


  8. #8
    Join Date
    2015-Oct
    Location
    Switzerland
    Posts
    33
    Hi yhi

    Your /etc/apt/sources.list has to contain the following two lines:

    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free

    No more lines are really required!

    And for your problem with your taskbar --> http://forums.kali.org/showthread.php?78-Restore-Menu
    @messiah wrote:
    Oh! I've fixed menu by deleting ~/.local/share/applications directory and ~/.config/menus directory. It's work well now!
    and @hdcase confirmed:
    I can confirm the fix stated by Messiah.
    regards, reidamaxia

    Edit 05.11.2015 07.51: writing correcture

Similar Threads

  1. Help with some random error while updating !
    By sakibkhaleel10 in forum General Archive
    Replies: 6
    Last Post: 2019-07-19, 15:54
  2. Openvas error after updating
    By extreme.seventh in forum NetHunter General Questions
    Replies: 1
    Last Post: 2015-08-18, 03:36
  3. Error updating Kali 2.0
    By thiagomespb in forum Installing Archive
    Replies: 0
    Last Post: 2015-08-15, 18:28

Posting Permissions

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