6

I am using Ubuntu-14.04 now, and want to upgrade to Ubuntu 16.04.

It will upgrade to the newest Ubuntu-17.10, if I use the commands below:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
do-release-upgrade

Does somebody knows "how can I upgrade Ubuntu to certain version (16.04) without re-installing system?

Thanks a lot.

Arronical
  • 20,241
may
  • 83

1 Answers1

5

Edit the /etc/update-manager/release-upgrades file with your favourite text editor.

Change the value of the Prompt line to be: prompt=lts

The do-release-upgrade command will now only upgrade to the next LTS release, which is currently 16.04. Be aware that the next LTS release 18.04 is due to be released soon, so it may be advisable to do this before that is released.

Elder Geek
  • 36,752
Arronical
  • 20,241