Ubuntu releases a new version of their operating system every six months. Ubuntu supports each release for 18 months with patches and updates. Every two years Ubuntu releases an LTS, or long term support, version. These LTS releases receive three years of patches and updates for the desktop version and five years of support for servers. By default, these LTS releases will only upgrade to newer LTS releases. If you have an LTS version of Ubuntu installed and want to upgrade it to a newer release version that is not an LTS release, you will have to change a setting first.
First, install the update tool:
$ sudo aptitude -y install update-manager-core
Make a backup of the config file you'll be editing:
$ sudo cp /etc/update-manager/release-upgrades /etc/update-manager/release-upgrades.orig
Now open that file:
Using gedit:
$ sudo gedit /etc/update-manager/release-upgrades
Using vi:
$ sudo vi /etc/update-manager/release-upgrades
Find the line that reads:
Prompt=LTS
Change it to say:
Prompt=normal
Update to the next release:
$ sudo do-release-upgrade
Thanks, this saved my evening.
ReplyDeleteUpgrading old server instance from 9.04 stopped to 10.04 but with help of this process could continue.
Very helpful, thank you!
ReplyDeleteThanks as well, this is exactly what I needed.
ReplyDeleteThanks! :)
ReplyDeleteThanks a lot....
ReplyDeleteGood stuff, Thanks for tut!
ReplyDeleteThanks! Short and sweet! If you don't mind me asking...how did you learn this?
ReplyDeleteSo very helpful, even 4 years later. Thanks!
ReplyDeleteThanks, that's also useful other way around ie upgrading to LTS with dist-upgrade. Have to manually tell update-manager after that it should only upgrade to LTS if you want to prevent releases to non-LTS from that point.
ReplyDeleteThanks for this, made life easier when I needed to update our fleet of VDSes.
ReplyDeleteThanks indeed.
ReplyDelete