PDA

View Full Version : Update from terminal?



ifytbairz
2014-09-23, 22:15
I just noticed today that Kali is in 1.0.9 now. I just got my 1.0.8 to where I like, I don't want to install 1.0.9 from ISO and risk losing my settings, is there a way to update to the latest release from the command line?

Some Googling showed that some people recommend 'sudo do-release-upgrade' but that doesn't seem to be a valid command in Kali.

Any advice is appreciated,
Thank you

staticn0de
2014-09-23, 22:32
apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade

ifytbairz
2014-09-24, 03:46
apt-get clean && apt-get update && apt-get upgrade && apt-get dist-upgrade

and that's enough?

from 'man apt-get':

dist-upgrade
In addition to performing the function of upgrade, this option 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.

is there more to a distro update? this just updates installed packages plus dependencies. i'm just trying to be sure i have the latest distro as well as learning the environment.