UPGRADING UBUNTU 16.10 TO 17.04 BOTH GRAPHICALLY AND TERMINALLY

2 Ways to Upgrade From Ubuntu 16.10 to Ubuntu 17.04 (Graphical & Terminal)


Ubuntu 17.04 final beta is released. This tutorial shows 2 ways to upgrade from Ubuntu 16.10 to Ubuntu 17.04 Zesty Zapus: using the graphical update manager and using command line. If you want to upgrade Ubuntu 16.04 to 17.04, you need to first upgrade to Ubuntu 16.10.

Upgrade Ubuntu 16.10 to Ubuntu 17.04 with the Graphical Update Manager

First, fire up a terminal window and run the following command to upgrade existing software.
sudo apt update && sudo apt dist-upgrade
Please note that if a new kernel is installed, then you need to reboot Ubuntu 16.10 in order to upgrade. Then openSoftware & Updates from Unity Dash or your favorite application menu.


Select the Updates tab and then at the bottom of window, change notification settings from For long-term support version to For any new version.


Click the close button. You will be asked to enter your password to apply the above changes. Next, issue the following command in terminal.
update-manager -d
The -d option will make Ubuntu update manager check if a development release is available. You should be notified that software is up-to-date and Ubuntu 17.04 is now available. Click the Upgrade button.

Then enter your password. The Ubuntu 17.04 release notes window will appear. Click Upgrade.

Wait for the upgrade to finish. If you are notified that some third-party sources are disabled, accept it. You can re-enable them once the upgrade is finished.

Once the upgrade is complete, restart your computer. To check your Ubuntu version, run
lsb_release -a
Output:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu zesty zapus (development branch)
Release: 17.04
Codename: zesty

Upgrade Ubuntu 16.10 to Ubuntu 17.04 Using Command Line 

You can use command line to upgrade Ubuntu 16.10 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-get 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 and follow the on-screen instructions.
do-release-upgrade -d


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

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.04 from Ubuntu 16.10

Comments