How to update Ubuntu 16.10 to 17.04 through terminal

Apr 19, 2017 | 5:37 pm

Published by | Chandan Singh

A few days ago the release of Ubuntu 17.04 Zesty Zapus, in this version were not so many innovations as one might expect, but still, we got some improvement.

As in previous versions, you do not need to re-install the system and lose all of your files, data, and tinctures.

Developers from Canonical to implement a simple update mechanism, which allows you to update Ubuntu 16.10 to 17.04 without re-installation, and problems with the loss of files. In this article we will look at how to upgrade to Ubuntu 17.04 using the GUI or the command line.

Upgrade to Ubuntu 17.04 through the terminal

If you think you have to upgrade to Ubuntu 17.04 is much more complicated, then you are very much mistaken. In some ways it’s even easier. First, we need to update all of the software to the latest version by opening a terminal with a keyboard shortcut Ctrl + Alt + T or connect to the server via SSH and run the following commands:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Then, install the update manager:

sudo apt install update-manager-core

Default Update Manager searches only LTS releases and offers to upgrade to them. But if you want to upgrade to Ubuntu 17.04, you need to enable searching of all versions. To do this, open the file / etc / update-manager / release -upgrades and change the Prompt to normal.

sudo vi / etc / update-manager / release-upgrades
Prompt = normal

Now we’re ready to upgrade, run the update manager with the command:

sudo do-release-upgrade -d

And then restart the computer

Then you can check the version of the distribution with this command:

lsb_release -a

You will see the version 17.04, which means that everything is fine and of Ubuntu 17.04 update was successful.

PS In this article, we discussed how to upgrade Ubuntu 16.10 to 17.04. Another option is to download and install everything from scratch, if you have a dedicated hard drive. As you can see, it is not very difficult, and in most cases, everything runs smoothly, so that the output you get a workable system. About the stability of the work, the Ubuntu 16.04.2 LTS better yourself shows. I hope this information was helpful to you.