+1 323 268 0395 kmw@caltek.net

ubuntu mailing list archives

Upgrade Ubuntu 16.04/17.04 to [...]

by
Kenneth Wyrick
- 03/03/2018 04:24:50

Upgrade Ubuntu 16.04/17.04 to Ubuntu 17.10 Using Command Line

You can use command line to upgrade Ubuntu desktop or a headless server. First, open up a terminal window and run the following command to upgrade existing software.

sudo apt update && sudo apt dist-upgrade
Then make sure you have update-manager-core package installed.

sudo apt install update-manager-core
Next, edit a configuration file using nano or your preferred command line text editor.

sudo nano /etc/update-manager/release-upgrades
At the bottom of this file, change the value of Prompt from lts to normal.

Prompt=normal
Save and close the file. After that, run the following command to begin the upgrade process.

do-release-upgrade
If you are running Ubuntu 17.04, then follow the on-screen instruction to upgrade to Ubuntu 17.10. If you are running Ubuntu 16.04, then follow the on-screen instruction to upgrade to Ubuntu 17.04 first and then follow the same steps to upgrade to Ubuntu 17.10.

Update: Ubuntu 17.04 reached end-of-life on January 13, 2018. Ubuntu 16.04 users can now upgrade directly to Ubuntu 17.10.

Once the upgrade is finished, reboot your Ubuntu desktop or server. To check your Ubuntu version, run:

lsb_release -a
Output:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
You also need to re-enable third-party repositories such as PPA because they are disabled during upgrade.

That’s it! I hope this tutorial helped you upgrade to Ubuntu 17.10 from Ubuntu 16.04/17.04.