Upgrade Ubuntu 14.x server to Ubuntu 15.04

It’s already april again and that means that Canonical has updated Ubuntu. This one has the name Vivid Vervet and has the number 15.04.

It is very easy to upgrade this from a Ubuntu 14.04 or 14.10 server. It’s just the same as upgrading from 14.04 to 14.10 which we discussed earlier in this post.

Keep in mind that upgrading takes a couple of minutes and that you make sure you have a backup!

Requirements

  • Ubuntu 14.04/14.10 server
  • SUDO-rights

1. Update-manager-core

Make sure you have update-manager-core by trying to install it. If your server already has update-manager-core installed there will be no problem.

sudo apt-get install update-manager-core

2. Edit release-upgrades file

Use nano or vi(m) to edit the file /etc/update-manager/release-upgrades

sudo nano /etc/update-manager/release-upgrades

The file will open and in the bottom you’ll find Prompt=lts, change it to Prompt=normal

You can save in nano by pressing ctrl+o and hitting enter. You can close nano by pressing ctrl+x.

This way the update manager will look for every new version that came out, not only the LTS-versions.

3. Upgrade the system to Ubuntu 15.04

Execute the following command, it will upgrade your server to Ubuntu 15.04

sudo do-release-upgrade -d

Follow the instructions on the screen. These can be different for your server and are therefor not discussed here.