How to upgrade to Ubuntu 16.10 from Ubuntu 16.04

Ubuntu 16.10, come named “Yakkety Yak” final and its flavors have been released yesterday. For more details, check the following link.

Download Ubuntu 16.10

Ubuntu 16.10 final can be downloaded from the link below.

ubuntu-16-10

However, if you already have Ubuntu 16.04 LTS installed on your system, you can easily upgrade it to Ubuntu 16.10.

In this tutorial, let us see how to upgrade to Ubuntu 16.10 from Ubuntu 16.04 and older versions.

Upgrade to Ubuntu 16.10 desktop

Before going to upgrade, we need to update the system.

Open up the Terminal and enter the following commands.

sudo apt-get update && sudo apt-get dist-upgrade

ostechnixostechnix-_001

The above command will download and install the latest available packages.

Reboot your system to finish installing updates.

sudo reboot

Now, enter the following command to upgrade to new available version.

sudo update-manager -d

Software Updater window will show up and search for the new available release.

However, it doesn’t show the next available release here.

It is because, 16.04 LTS is the long term support release. So it will only search for the next available LTS version, which is Ubuntu 18.04 LTS. We have to change the settings to search for the next available new version. To do so, click Settings.

virtualbox_ubuntu-161

Just click the drop down box that says Notify me of a new Ubuntu version under the Updates tab and select “For any new version”. Then, Click Close.

virtualbox_ubuntu-163

Again, run the following command to start upgrade process.

sudo update-manager -d

After a few seconds, you will see a screen like below that saying:

“The software on this computer is up to date.

However, Ubuntu 16.10 is available now (you have 16.04)”.

Click Upgrade button to start the upgrade.

virtualbox_ubuntu-164

Then, Click Upgrade.

virtualbox_ubuntu-165

After few minutes, the software updater will ask you to start the upgrade.

Click Start upgrade to continue.

virtualbox_ubuntu-167

Now, the distribution upgrade will download new packages. Sit back and grab a cup of coffee. It will take a while depending upon your Internet connection speed.

virtualbox_ubuntu-168

virtualbox_ubuntu-1610

Close Remove to remove obsolete packages.

virtualbox_ubuntu-1611

Finally, click “Restart Now” button to complete the upgrade process.

virtualbox_ubuntu-1612

Congratulations. Ubuntu 16.04 LTS desktop has been successfully upgraded to version 16.10.

Log in to the newly upgraded Ubuntu 16.10 desktop.

virtualbox_ubuntu-1613

Here it is how my Ubuntu 16.10 desktop looks like.

virtualbox_ubuntu-1614

To view the Ubuntu desktop details, go to System settings > Details from Unity dash.

virtualbox_ubuntu-1615

File manager:

virtualbox_ubuntu-1616

Web browser:

virtualbox_ubuntu-1617

From command line, you can view the system details using command:

cat /etc/*-release

Sample output:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.10
DISTRIB_CODENAME=yakkety
DISTRIB_DESCRIPTION="Ubuntu Yakkety Yak (development branch)"
NAME="Ubuntu"
VERSION="16.10 (Yakkety Yak)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.10"
VERSION_ID="16.10"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=yakkety
UBUNTU_CODENAME=yakkety

virtualbox_ubuntu-1619

Or, just run:

lsb_release -a

Sample output:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Yakkety Yak (development branch)
Release: 16.10
Codename: yakkety

virtualbox_ubuntu-1618

To view the Kernel details, run:

uname -a

Sample output:

Linux ostechnix 4.8.0-17-generic #19-Ubuntu SMP Sun Sep 25 05:29:05 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

That’s it. Start using Ubuntu 16.10 Desktop.

Ubuntu 16.10 Server Upgrade

We saw how to upgrade to Ubuntu 16.10 desktop. Now, we will see how to upgrade to Ubuntu 16.10 server from Ubuntu 16.04 LTS.

First, Install the update-manager-core package if it is not installed yet using command:

sudo apt-get install update-manager-core

Then, Edit the file /etc/update-manager/release-upgrades,

sudo nano /etc/update-manager/release-upgrades

and Change Prompt=lts to Prompt=normal shown below.

skubuntuserver-_001

# Default behavior for the release upgrader.

[DEFAULT]
# Default prompting behavior, valid options:
#
#  never  - Never check for a new release.
#  normal - Check to see if a new release is available.  If more than one new
#           release is found, the release upgrader will attempt to upgrade to
#           the release that immediately succeeds the currently-running
#           release.
#  lts    - Check to see if a new LTS release is available.  The upgrader
#           will attempt to upgrade to the first LTS release available after
#           the currently-running one.  Note that this option should not be
#           used if the currently-running release is not itself an LTS
#           release, since in that case the upgrader won't be able to
#           determine if a newer release is available.
Prompt=normal
  • Normal – Check to see if a new release is available. If more than one new release is found, the release upgrader will attempt to upgrade to the release that immediately succeeds the currently-running release.
  • LTS – Check to see if a new LTS release is available. The upgrader will attempt to upgrade to the first LTS release available after the currently-running one. Note that this option should not be used if the currently-running release is not itself an LTS release, since in that case the upgrader won’t be able to determine if a newer release is available.

As you already know, Ubuntu 16.10 is the next available version to Ubuntu 16.04, so I simply left it as normal.

Now, it is time to upgrade your server system to latest version using the following commands:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Reboot your system to apply the updates.

sudo reboot

In case you’re upgrading via SSH, it is better to start the upgrade session within screen session. Because in case of any SSH connection failure during upgrade process, you can easily reconnect with the upgrade session.

To install the screen tool, run:

sudo apt-get install screen

Then start the screen session using command:

screen

In case of any failure, you can re-attach to the upgrade session with command:

screen -Dr

Now, start the upgrade process with command:

sudo do-release-upgrade -d

Type Y and press ENTER.

skubuntuserver-_008

Press ENTER again.

skubuntuserver-_009

After a while, you’ll be asked to continue the upgrade process. Type Y and press ENTER to continue.

skubuntuserver-_010

The upgrade process will start now. It will take few minutes to hour depending upon the Internet connection speed. Sit back and grab a cup of coffee.

skubuntuserver-_012

Once the latest packages are downloaded and installed, type Y and press ENTER to remove the obsolete packages.

skubuntuserver-_014

Finally, to finish the upgrade type Y and press ENTER.

Congratulations! Welcome to Ubuntu 16.10 version.

ubuntu-16-04-server-running-oracle-vm-virtualbox_018

It’s time to explore what’s new in Ubuntu 16.10 server.

We will be posting more articles about Ubuntu 16.10 in the days to come. Stay tuned with OSTechNix.

Cheers!!

Thanks for stopping by!

How can I benefit from this blog:

Have a Good day!!

You may also like...