The latest version of Ubuntu “Ubuntu 17.04” has been recently officially launched. The code name of Ubuntu 17.04 is Zesty Zapus. Ubuntu 17.04 has various new features and enhanced security. However, many users may still be using the earlier version of Ubuntu such as Ubuntu 16.04. You can upgrade your Ubuntu 16.04 system to Ubuntu 17.04 without having any issue. However, first you need to upgrade Ubuntu 16.04 to Ubuntu 16.10 and then you can upgrade Ubuntu 16.10 to Ubuntu 17.04. Here are the various options that you can use to upgrade Ubuntu 16.04 to Ubuntu 17.04.
- Also read: How to reset root password in Ubuntu.
1.Upgrade Ubuntu 16.04 to Ubuntu 17.04 using GUI
1.1 Using Software and Updates Tool
In order to upgrade your system to Ubuntu 17.04 Zesty Zapus, click the System menu and then select the Software and Updates as shown in the following figure.

On the Software & Updates window, select the Updates tab.
Under the Notify me of a new Ubuntu version drop-down list, select For any new version option as shown in the following figure.

Open a new terminal and execute the command as shown in the following figure.
sudo update-manager -c

The system will start to check the available updates and the following message will be displayed.
A new version of Ubuntu is available. Would you like to upgrade?
Follow the on-screen upgrade instructions and complete the upgrade process. If the above message does not display and checking for update process take too much time, close the terminal and follow the below method.
1.2 Using check-new-release-gtk command
You can also use a GTK tool to upgrade your Ubuntu system. For this, execute the following command to upgrade Ubuntu system.
/usr/lib/Ubuntu-release-upgrader/check-new-release-gtk
An upgrade message will be displayed. Click Yes, Upgrade Now button as shown in the below figure.

Since you are using Ubuntu 16.04, so the next available upgrade for this version is Ubuntu 16.10 as shown in the following figure. 
First, you need to upgrade Ubuntu 16.04 to Ubuntu.10 and then Ubuntu 16.10 to Ubuntu 17.04. Click the Upgrade button. The upgrading process will start as shown in the following figure.

The system will reboot once the upgradation is done. After upgrading Ubuntu 16.04 to Ubuntu 16.10, start the upgrading process again. This time your Ubuntu 16.10 system would be upgraded to Ubuntu 17.04.
- Recommended post: Configure NFS server in Ubuntu 17.04
2. Upgrade Ubuntu 16.04 to Ubuntu 17.04 using Command Line
Most of the Ubuntu/Linux servers run without the graphical interface. So the above method would not help you if you have the only CLI-based server. However, you can still upgrade your server using the do-release-upgrade command. To upgrade your Ubuntu server using the command line, execute the
To upgrade your Ubuntu server using the command line, execute the sudo do-release-upgrade -d command. The following figure shows how to upgrade Ubuntu server using command line interface.

After finishing upgrades, reboot the system, if not automatically rebooted. Now, your system should be upgraded from Ubuntu 16.04 to Ubuntu 17.04.