Results 1 to 8 of 8

Thread: Cant update Kali version

  1. #1
    Join Date
    2019-Oct
    Posts
    3

    Post Cant update Kali version

    Hello i installed Kali version :4.15.0-kali2-amd64 #1 SMP Debian 4.15.11-1kali1 (2018-03-21) x86_64 GNU/Linux
    then i fist updated Kali using apt-get update and apt-get full-upgrade but nothing update and version remain same:
    PRETTY_NAME="Kali GNU/Linux Rolling"
    NAME="Kali GNU/Linux"
    ID=kali
    VERSION="2018.2"
    VERSION_ID="2018.2"
    ID_LIKE=debian
    ANSI_COLOR="1;31"
    HOME_URL="https://www.kali.org/"
    SUPPORT_URL="https://forums.kali.org/"
    BUG_REPORT_URL="https://bugs.kali.org/"

    then I check source.list and found that it is totally empty
    then i add original Kali sources.list Repositories and then re update but still not working

    Can anybody help me

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    could you define "Still not working"? Outputs are useful.

    And did apt update return anything? If yes, what?

  3. #3
    Join Date
    2019-Oct
    Posts
    3
    root@localhost:/etc# cd /
    root@localhost:/# cat /etc/os-release
    PRETTY_NAME="Kali GNU/Linux Rolling"
    NAME="Kali GNU/Linux"
    ID=kali
    VERSION="2018.2"
    VERSION_ID="2018.2"
    ID_LIKE=debian
    ANSI_COLOR="1;31"
    HOME_URL="https://www.kali.org/"
    SUPPORT_URL="https://forums.kali.org/"
    BUG_REPORT_URL="https://bugs.kali.org/"
    root@localhost:/# apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@localhost:/# apt update
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    All packages are up to date.
    root@localhost:/# uname -a
    Linux localhost.localdomain 4.15.0-kali2-amd64 #1 SMP Debian 4.15.11-1kali1 (2018-03-21) x86_64 GNU/Linux
    root@localhost:/#

  4. #4
    Join Date
    2016-Dec
    Posts
    806
    Do you have anything in /etc/apt/sources.list?

  5. #5
    Join Date
    2019-Oct
    Posts
    3
    root@localhost:~# cat /etc/apt/source.list
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    deb-src http://http.kali.org/kali kali-rolling main non-free contrib

  6. #6
    Join Date
    2016-Dec
    Posts
    806
    You have to do 'apt dist-upgrade' after 'apt update'. Does that command do anything? Could you show the output?

  7. #7
    Join Date
    2019-Oct
    Posts
    1
    I am getting this error page:

    oot@GregsKali:~# apt update
    Ign:1 https://www.kali.org/kali kali-rolling InRelease
    Err:2 https://www.kali.org/kali kali-rolling Release
    404 Not Found [IP: 192.124.249.10 443]
    Reading package lists... Done
    E: The repository 'https://kali.org/kali kali-rolling 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.
    root@GregsKali:~# apt dist-update
    E: Invalid operation dist-update
    root@GregsKali:~# apt dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@GregsKali:~# !ping
    ping 192.124.249.10
    PING 192.124.249.10 (192.124.249.10) 56(84) bytes of data.
    64 bytes from 192.124.249.10: icmp_seq=1 ttl=57 time=21.4 ms
    64 bytes from 192.124.249.10: icmp_seq=2 ttl=57 time=21.7 ms
    64 bytes from 192.124.249.10: icmp_seq=3 ttl=57 time=21.3 ms


    This despite playing with variations of the dists page:
    http.kali.org/dists/kali-rolling-only/ ...


    The official kali mirrors site tesll us to set up user accounts in our platforms to access the mirrors:
    docs.kali.org/community/kali-linux-mirrors

    is the new way of things?

  8. #8
    Join Date
    2016-Dec
    Posts
    806
    Are you sure that's the content of your sources.list (notice the 's' at the end of it, and in your command you typed it without 's')? apt is hitting http://www.kali.org, which is incorrect.


    You're misunderstanding that documentation (mirror). It is meant to have a copy of the kali repo on one of your system, and that isn't needed. It is only useful if you have a lot of users in your company running kali, and will save bandwidth, and it can save time when building ISOs, but otherwise, there is no reason to have one.

Similar Threads

  1. Replies: 4
    Last Post: 2020-08-03, 14:02
  2. Replies: 4
    Last Post: 2018-03-12, 19:39

Posting Permissions

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