Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Cannot apt-get update. Err:1 http://http.kali.org/kali kali-rolling InRelease

  1. #11
    Junior Member
    Join Date
    Nov 2015
    Posts
    24
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    copy and replace in sources.list

  2. #12
    Junior Member
    Join Date
    Oct 2016
    Posts
    6
    Your /etc/sources.list should be:

    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    However if the above official source not working to you, you may use the official kali mirrors.
    1) Go to this link http://http.kali.org/README.mirrorlist
    2) under "mirrors which handle this country" copy any one of the link (example in my case: http://kali.cs.nctu.edu.tw/kali/README )
    3) Open nano /etc/apt/sources.list and paste it at the bottom.
    4) Remove "/README" from the link and make it looks like this -> "deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free"
    5) Comment all previous sources except the mirror that you just pasted.
    6) and finally your Mirror sources.list should be like this: (Example of my kali mirror sources.list)

    #Kali Linux Rolling Official Repositories
    #deb http://http.kali.org/kali kali-rolling main contrib non-free

    #Kali Linux Rolling Official Mirrors Repositories
    deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free

    7) Exit and write changes.
    8) Run apt-get clean && apt-get update and see if it works.
    9) If it still doesn't working, try to replace it with another mirror.

    Hope this helps anyone out there.

  3. #13
    Junior Member
    Join Date
    Nov 2014
    Posts
    8
    @mlrkumar suggestion worked fine.

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
  •