Results 1 to 7 of 7

Thread: Can I update kali linux with different methods?

  1. #1
    Join Date
    2019-Sep
    Posts
    4

    Can I update kali linux with different methods?

    I've looked everywhere on the internet and this topic is not covered.

    I was able to update kali linux today using the terminal. I used: apt-get update. Then I wrote apt-get upgrade. I did yes to everything.

    The upgrade had completed after 30 minutes.

    Yet I go through the click interface in settings>details>checkforupgrades and an upgrade is there waiting for me, even though I just did the upgrade via the terminal.

    Now I've been waiting a good 10 minutes and the latter upgrade is still going on.

    What gives? Why is it still upgrading through the latter method and which way is better?

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    It probably does 'apt dist-upgrade'. There is a difference between both and google has the answer (or you can search other posts I've answered, I probably linked it a few times).

  3. #3
    Join Date
    2019-Sep
    Posts
    4
    Okay yes that would make sense.

    I don't know if it also had something to with loading the VM via kali linux vbox vs. kali linux iso. I notice only the 2 upgrade methods apply to downloading kali linux vbox, but not iso.

    I don't know where your links to similar posts would be because I searched on this topic and found nothing related. I wasn't even thinking that apt-get dist-upgrade would be the reason why.

  4. #4
    Join Date
    2019-Sep
    Posts
    2
    By using the command line console you can update the system, because it is faster and more reliable. But if you prefer a graphical interface, then in the menu, find the Software item and run.

  5. #5
    Join Date
    2019-Sep
    Posts
    4
    Ok thank you. Yes, I tested these methods out and dist-upgrade has overwritten the graphical upgrade option.

  6. #6
    Join Date
    2016-Dec
    Posts
    806
    The provided Kali VM is installed using the ISO.

    I did a quick google search 'apt dist-upgrade vs apt upgrade' and this is the first link explaining: https://askubuntu.com/questions/1946...t-dist-upgrade

    upgrade
    upgrade is used to install the newest versions of all packages
    currently installed on the system from the sources enumerated in
    /etc/apt/sources.list. Packages currently installed with new
    versions available are retrieved and upgraded; under no
    circumstances are currently installed packages removed, or packages
    not already installed retrieved and installed. New versions of
    currently installed packages that cannot be upgraded without
    changing the install status of another package will be left at
    their current version. An update must be performed first so that
    apt-get knows that new versions of packages are available.

    dist-upgrade
    dist-upgrade in addition to performing the function of upgrade,
    also intelligently handles changing dependencies with new versions
    of packages; apt-get has a "smart" conflict resolution system, and
    it will attempt to upgrade the most important packages at the
    expense of less important ones if necessary. So, dist-upgrade
    command may remove some packages. The /etc/apt/sources.list file
    contains a list of locations from which to retrieve desired package
    files. See also apt_preferences(5) for a mechanism for overriding
    the general settings for individual packages.

  7. #7
    Join Date
    2019-Sep
    Posts
    4
    Hi, yes I've read this post before.

    However, it did not mention the difference between upgrading through the graphical interface or the terminal.

    Both of the examples of apt-upgrade and apt-dist-upgrade are only for answering the questions of the terminal issue. I was curious of the graphical interface issue which wasn't on there.

    But, thank you. You were right with how the graphical interface is configured to use the apt-dist-upgrade function.

Similar Threads

  1. Kali Install on Virtual Box using recommended methods.
    By AayushBoliya in forum Installing Archive
    Replies: 0
    Last Post: 2021-01-29, 21:18
  2. Kali GRUB fails to install. Tied multiple methods
    By deanfourie in forum Installing Archive
    Replies: 10
    Last Post: 2015-10-05, 01:05

Posting Permissions

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