Results 1 to 6 of 6

Thread: Can't update Kali Linux

  1. #1
    Junior Member
    Join Date
    Sep 2017
    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
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    810
    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
    Junior Member
    Join Date
    Sep 2017
    Posts
    3
    I have deleted them but still can't update.

  4. #4
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    810
    Show the output of cat /etc/apt/sources.list and sudo apt update and ls /etc/apt/sources.d

  5. #5
    Junior Member
    Join Date
    Nov 2016
    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
    Junior Member
    Join Date
    Sep 2017
    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:

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
  •