Results 1 to 9 of 9

Thread: update impossible from 4.17.0-kali3-amd64

  1. #1
    Join Date
    2019-Feb
    Posts
    1

    Angry update impossible from 4.17.0-kali3-amd64

    Hello,

    after apt-get update && apt-get upgrade && apt-get dist-upgrade && reboot
    then apt update && apt -y full-upgrade && reboot

    my kali version stay the same:

    Code:
    root@kali:~# uname -r
    4.17.0-kali3-amd64
    root@kali:~# uname -a
    Linux kali 4.17.0-kali3-amd64 #1 SMP Debian 4.17.17-1kali1 (2018-08-21) x86_64 GNU/Linux
    My sources.list:

    Code:
    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
    How to update or change my kali version to the lastest?

    Thank you very much!

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    all I can think of is that apt-get may have failed, which prevented apt-get dist-upgrade from running (and then rebooting).

    If it did reboot the first time, there is something wrong, so, reinstalling is the solution.

  3. #3
    I have the same issue with fresh installs. I have tried a dozen times and apt seems broken for what ever reason so I just created a post on the same issue. cd to the desktop and run "apt list --upgradeable > upgrade.txt" then open the file from your desktop

    Go through and on each line delete everything after kali-rolling for example the line says apt/kali-rolling 8.2. etc remove everything after rolling if the package doesnt have /kali-rolling after it then just remove everything after the package name. do this for each line then start putting spaces between the packages.

    then go back to terminal and do apt-get install -y apt/kali-rolling mysql/kali-rolling packagewhatever package whatever && apt-mark auto apt/kali-rolling mysql/kali-rolling packagewhatever package whatever

    that will install everything. Then check packages marked for manual by " apt-mark showmanual > manual.txt " DO NOT DO "apt-get autoremove" it will remove everything

    I then recommend backing up your image afterwards

    I am trying to find an easier way to do this.

  4. #4
    Join Date
    2016-Dec
    Posts
    806
    Try with 2019.1

    I've done installs and never seen anything like this.

  5. #5
    i think something was done to apt recently. First change your sources list to https from http but not the http in the URL
    deb https://http.kali.org/kali kali-rolling main non-free contrib
    deb-src https://http.kali.org/kali kali-rolling main non-free contrib

    then do apt-get update

    once updated dump the upgradeable stuff into a text file

    apt list --upgradeable > up.txt

    open the file and then go through the list and delete everything after the / that trails the package name in the list

    locate the updates the deal with apt dpkg and unattended-updates

    install those seperate

    apt-get install -y apt dpkg unattended-updatescetc etc...

    Then reboot and do apt-get upgrade. If it installs all the updates then your good. make sure to change the packages you installed alone and mark them from manual to auto with apt-mark auto <package
    Name>

    if you dont remember what you installed use apt-mark showmanual

  6. #6
    oh if apt-get upgrade isnt successful then start installing the important updates manually with apt-get install like you did with apt

  7. #7
    Join Date
    2016-Dec
    Posts
    806
    http or https points to exactly the same servers. The reason HTTP may not work may be an IDS at your ISP

    There is no need whatsoever to split updates. I've done massive dist-upgrades (1.5-2Gb) and never ran into an issue.

    and about apt upgrade, it does less than dist-upgrade.

  8. #8
    Quote Originally Posted by Mister_X View Post
    http or https points to exactly the same servers. The reason HTTP may not work may be an IDS at your ISP

    There is no need whatsoever to split updates. I've done massive dist-upgrades (1.5-2Gb) and never ran into an issue.

    and about apt upgrade, it does less than dist-upgrade.
    How long ago did you do a fresh install? if its been a while give it a shot with the new ISO on a fresh install. I am curious if you encounter the same issue. I encountered this on the Kali Linux Light 64 Bit iso and the regular kali 64 bit install.

  9. #9
    Join Date
    2016-Dec
    Posts
    806
    No issue whatsoever and not long ago. I've done it with a lot of different ISO over the years and never ran into such an issue.

    Being the light version is irrelevant, as this is network related and both have the exact same kernel, so same network stack. Same apt/dpkg tools.

Posting Permissions

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