Command line for updating ubuntu

One key thing to note before following the steps below is that you have to backup important data such as folders, documents, images and many more on your system, never take chances because sometimes upgrades do not always go well as expected.Your may face issues that can lead to data loss in case an upgrade fails.

I have several 8.04lts servers that I'm going to want to upgrade to 10.4 and they don't have a GUI.

I have several 8.04lts servers that I'm going to want to upgrade to 10.4 and they don't have a [email protected]:~$ sudo apt-get update [sudo] password for ant2ne: Hit Ign Translation-en_US Hit Ign Translation-en_US Ign Translation-en_US Ign Translation-en_US Ign Translation-en_US Hit Release Ign Translation-en_US Ign Translation-en_US Ign Translation-en_US Hit Ign Translation-en_US Ign Translation-en_US Ign Translation-en_US Ign Translation-en_US Hit Release Hit Release Hit Packages Hit Packages Hit Packages Hit Sources Hit Sources Hit Packages Hit Sources Hit Packages Hit Sources Hit Packages Hit Sources Hit Sources Hit Packages Hit Sources Hit Packages Hit Sources Hit Packages Hit Packages Hit Sources Hit Sources Hit Packages Hit Sources Hit Packages Hit Sources Reading package lists...

Done [email protected]:~$ uname -r 2.6.27-15-generic [email protected]:~$ sudo apt-get dist-upgrade Reading package lists...

[email protected]:~$ Changing your sources file as mentioned by carlee is not an officially recommended method of upgrading, as it doesn't actually invoke the very clever Ubuntu distribution upgrader.

If the system is not up-to-date, then all the updates to be installed will be listed as in the screen shot below. Read Also: Top 7 Things You’ll Mostly Need to Do After Installing Ubuntu 16.04 Xenial Xerus The same idea applies here, make your server system up-to-date as follows: Now your system has been upgraded to Ubuntu 16.04 (Xerial Xerus) LTS.

Comments