Results 1 to 6 of 6

Thread: Can't update Kali Linux

  1. #1
    Join Date
    2017-Sep
    Posts
    3

    Can't update Kali Linux

    Hello All,

    I am having trouble updating my Kali Linux.

    My source.list is:
    Code:
    root@kali:~# cat /etc/apt/sources.list
    # 
    
    # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free
    
    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
    
    deb  http://old.kali.org/kali sana main non-free contrib
    # For source package access, uncomment the following line
    # deb-src http://old.kali.org/kali sana main non-free contrib
    
    #deb http://deb.torproject.org/torproject.org stretch main
    
    deb  http://old.kali.org/kali moto main non-free contrib
    # For source package access, uncomment the following line
    # deb-src http://old.kali.org/kali moto main non-free contrib
    
    
    
    #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-fre
    #deb http://deb.torproject.org/torproject.org kali-rolling main
    My uname -a is:

    Code:
    Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux
    The output from apt-get update is:

    Code:
    Ign:1 http://deb.torproject.org/torproject.org precise InRelease
    Err:2 http://deb.torproject.org/torproject.org precise Release       
      404  Not Found [IP: 82.195.75.101 80]
    Hit:4 http://old.kali.org/kali sana InRelease                        
    Hit:3 http://ct.mirror.garr.it/mirrors/kali kali-rolling InRelease             
    Hit:5 http://old.kali.org/kali moto InRelease                                  
    Reading package lists... Done                      
    E: The repository 'http://deb.torproject.org/torproject.org precise 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.

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by mcus View Post
    deb http://old.kali.org/kali sana main non-free contrib

    deb http://old.kali.org/kali moto main non-free contrib
    These repos are unnecessary. Why did you add them?

  3. #3
    Join Date
    2017-Sep
    Posts
    3
    I have deleted them but still can't update.

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Show the output of cat /etc/apt/sources.list and sudo apt update and ls /etc/apt/sources.d

  5. #5
    Join Date
    2016-Nov
    Posts
    4
    I have different error, but it is in "apt-get update" too.

    There is my error and version:

    root@kali:~# uname -a
    Linux kali 3.10.73-nethunter-angler-1.1 #1 SMP PREEMPT Mon Jan 16 12:30:18 EST 2017 aarch64 GNU/Linux
    root@kali:~# apt-get update
    Hit:1 http://old.kali.org/kali sana InRelease
    Hit:2 http://old.kali.org/kali moto InRelease
    Hit:3 http://archive-4.kali.org/kali kali-rolling InRelease
    Error connecting: Could not connect: Connection refused
    Reading package lists... Done
    root@kali:~#


    Before I don't have any error, and I don't know if this is important or not.

    Thanks

  6. #6
    Join Date
    2017-Sep
    Posts
    3
    cat /etc/apt/sources.list
    #

    # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free

    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




    #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-fre
    #deb http://deb.torproject.org/torproject.org kali-rolling main
    sudo apt update
    Ign:2 http://deb.torproject.org/torproject.org precise InRelease
    Hit:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
    Err:3 http://deb.torproject.org/torproject.org precise Release
    404 Not Found [IP: 154.35.132.70 80]
    Reading package lists... Done
    E: The repository 'http://deb.torproject.org/torproject.org precise 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.
    ls /etc/apt/sources.list.d

    tor.list[
    /QUOTE]

    and in tor.list is:

Similar Threads

  1. Replies: 0
    Last Post: 2021-05-16, 13:50
  2. Kali linux can't update
    By firsttimekali in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-06-25, 11:57
  3. Replies: 7
    Last Post: 2016-01-02, 12:15

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
  •