A step by step guide to upgrade to Ubuntu 15.10
Ubuntu 15.10 has been released yesterday. Since this version doesn’t come up with any new interesting features, you may not want to switch to Ubuntu 15.10. However, guys like me wants always to use or test bleeding edge new updated applications all time. If you’re anything like me, here is the step by step guide to upgrade to Ubuntu 15.10 from its predecessor.
This method is same for Ubuntu official flavours such as Lubuntu/Kubuntu/Xubuntu 15.10.
Important note: Make a backup of your important files before starting upgrade process.
Ubuntu 15.10 Desktop Upgrade
First of all, run the following commands from your Terminal to update your Ubuntu desktop.
sudo apt-get update
sudo apt-get dist-upgrade
These commands download and install all available updates.
Once the update is complete, reboot your system to apply the changes.
It’s time to start the upgrade process.
Enter the following command to start upgrade Ubuntu to version 15.10.
sudo update-manager -d
After a few seconds, you will see a screen like below that says:
“However, Ubuntu 15.10 is available now (you have 15.04)”.
Click Upgrade to start upgrading Ubuntu to version 15.10.
Next, Click Start Upgrade to start upgrade..
Now, the new packages will be pulled from the Ubuntu repositories.
Finally, click Start upgrade to start the upgrade.
Now, the updater will start to getting new packages. It will take a while depending upon your Internet connection speed.
Sit back and grab a cup of coffee. The upgrade process will take few minutes or hours depending upon your Internet speed.
Congratulations! Upgrade process is completed. Click Restart to use the new Distribution.
Log in to your newly upgraded Ubuntu 15.10.
Now, let us see how to upgrade Ubuntu server to version 15.10.
Ubuntu 15.10 Server Upgrade
Open the Terminal and Install the update-manager-core package.
sudo apt-get install update-manager-core
Edit file /etc/update-manager/release-upgrades:
sudo nano /etc/update-manager/release-upgrades
and set default behavior for the release upgrader.
You need to either set Prompt=normal or Prompt=lts as shown below.
# 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.
Ubuntu 15.10 is not a LTS version, right? So, let us set the Prompt value as normal.
Finally, run the following command to start upgrading Ubuntu server to version 15.10.
sudo do-release-upgrade -d
Follow the on-screen instructions and complete the upgrade.
After upgrading, reboot the server to apply the changes.