Results 1 to 6 of 6

Thread: What is the recommended way to keep Kali Linux up-to-date?

  1. #1

    What is the recommended way to keep Kali Linux up-to-date?

    Hi everybody,

    As per my understanding, Kali is now a pure rolling-release distro, it does not offer the choice between a rolling and a fixed as other distro may do, am I right?

    I installed it as a Qemu guest (managed itself by GNS3 for that matter) and tried to update it the traditional way through apt-get update and apt-get upgrade.

    After the end of the updating process, I lost a few icons from the launchbar. This was not a big deal, even if it was not very clean.

    I then discovered that Beef (which appears to be one of the main software in Kali since its shortcut appears by default in the launchbar) could not start anymore. I know that a solution has already been suggested for this particular issue a few months ago (which by the way shows that this is not a new issue), but I don't like it since it relies on fetching Beef files directly from the upstream project's Git repository and if I use distro packages and a distribution like Kali it is precisely to avoid having to do such things.

    I thought that maybe Beef was broken because I did an apt-get upgrade instead of an apt-get dist-upgrade and therefore the installation of some new Ruby libraries (for instance) was blocked.

    I therefore launched an apt-get dist-upgrade and restarted... only to see that Kali itself was now unable to start. The boot process fails on an I/O error when trying to access fd0 block 0. It does not surprise me that the operation fails since there is no floppy drive. Here again I could try to workaround the issue by configuring Qemu to emulate one, but I have the impression I will just loose my time in repairing endless issues.

    This update procedure just do not feel reliable to me. Therefore I'm wondering what is the correct way to keep Kali Linux up-to-date:

    • Is Kali Linux designed to be used mainly as a live-CD, and therefore not to be updated between releases (in other words: if someone really needs some updates between say releases 2016.1 and 2016.2, then he can get them but he will have homework to do down the road to get things working)?
    • Should the sources.list file be updated to fetch only security updates? Currently this file is set at its default value:
      Code:
      deb http://http.kali.org/kali kali-rolling main non-free contrib
    • Or maybe the solution lies somewhere else?


    Thank you by advance for your guidance on this subject!
    Last edited by WhiteWInterWolf; 2016-06-15 at 08:35.

  2. #2
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    I run 3 commands to keep Kali updated: apt-get update && apt-get upgrade (or dist-upgrade, depending on my needs) && openvas-feed-update

  3. #3
    Quote Originally Posted by grid View Post
    I run 3 commands to keep Kali updated: apt-get update && apt-get upgrade (or dist-upgrade, depending on my needs) && openvas-feed-update
    I'm curious why people would use apt-get nowadays

    Code:
    apt clean && apt update && apt -y upgrade && apt -y dist-upgrade && apt -y autoremove

  4. #4
    Thanks for your answers,

    Quote Originally Posted by grid View Post
    I run 3 commands to keep Kali updated: apt-get update && apt-get upgrade (or dist-upgrade, depending on my needs) && openvas-feed-update
    And you confirm that you do not encounter any issue? Beef is working without trouble, no problem with the desktop, with the booting process, no need to tweak the system after the update to get things working?

    When I looked around, I had the impression I was not the only one to encounter such kind of problems...


    Quote Originally Posted by sml156
    I'm curious why people would use apt-get nowadays
    Maybe because aptitude is not available ! While I see aptitude and its ability to automatically uninstall dependencies not needed anymore as a concrete progress, I actually do not see any major advantage in favour of apt (it sounds to me like a stripped down version of apt-get and apt-cache throwing away backward compatibility).

  5. #5
    Join Date
    2013-Apr
    Location
    Kali forums
    Posts
    805
    I've occasionally run into problems after running dist-upgrade: Beef died on me, so I had to do some research at beefproject.com to get the fix. Haven't seen any issues with the desktop, booting, etc. I'm running on a Lenovo ThinkPad L530: dual booting with Windows 7. Before I upgrade, I check bugs.kali.org to see the outstanding issues; that helps me decide between running upgrade vs dist-upgrade.

    @sml156...just the way I've always run updates on linux

  6. #6
    Join Date
    2016-Nov
    Posts
    1
    After I upgraded my system the application icons are not showing, they just show the default icon for applications in linux, the gear in a square. For example the metasploit framework icon is not showing, mdk3 icon is not showing etc, but they work fine. Is there anyway to get those icons back?

Similar Threads

  1. date date format in command history
    By Capitob in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2023-04-04, 23:53
  2. Date and Timing problem In Kali linux
    By Prakhar Misra in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2021-01-02, 19:21
  3. Replies: 1
    Last Post: 2016-05-19, 11:44
  4. the recommended speed of burning kali-linux-1.0.6-i386.iso on a DVD
    By Youcef in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-02-13, 21:22

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
  •