Monday, April 17, 2017

Upgrade Ubuntu 16.04 to 16.10 command line

First, SSH into your Ubuntu 16.04 server and upgrade all software.
$sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

Then make sure you have update-manager-core package installed.
$sudo apt-get install update-manager-core

Next, edit a configuration file.
$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 server. To check your Ubuntu version, run:
$lsb_release -a

No comments:

Post a Comment