I am setting up a new Linux Server, and the following are the commands I used to upgrade the 16.04 Xenial to 17.10 Artful
After Ubuntu 16.04 installation, setting up the interface cards for internet access, etc.
before the upgrade:
In root mode, and at terminal:
apt-get update
apt-get dist-upgrade
Make sure you have update-manager-core package installed:
apt-get install update-manager-core
Next, lets edit the config file below. I use nano. Use your favorite command line text editor.
nano /etc/update-manager/release-upgrades
At the bottom of this file, change the value of "Prompt=lts" to "normal".
Prompt=normal
Save and close the file. After that, run the following command to begin the upgrade process.
do-release-upgrade
A couple of messages might appear during this process, follow through on the on-screen instructions
Once upgrade is completed, reboot your server and check Ubuntu version:
lsb_release -a
after the upgrade:
output:
root@Lagos-Backup-Server:/home/tokunbo# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
root@Lagos-Backup-Server:/home/tokunbo#
ps: the whole upgrade process took about 20-minutes.