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.
01 Answer
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.