Upgrading Ubuntu Server to 7.04

Feisty official pictureYou might have read Canonical information on how to upgrade your Ubuntu 6.10 Server Edition to the latest Ubuntu 7.04 Server Edition. But somehow, you cannot install the update-manager-core program.

I might have the problem because I am not using the Universe or Multiverse repositories, but when using only the official ones, an installation of the above mentioned package will failed with the error that the package could not be found.

Here are the required steps to perform the update if you fall in the same case. I will not mention again the requirements before your start. The below instructions were given by Spikenc2 on the Ubuntu community documentation, however and due to a redirection this information is currently not available.
If you run an Ubuntu server, you should use the new server upgrade system.

  1. You have to update the sources.list file so apt-get is able to find the update-manager-core package. Edit the mentioned file:
    sudo nano /etc/apt/sources.list

    and replace edgy by feisty in the following line:

    deb http://archive.ubuntu.com/ubuntu/ edgy main restricted


    deb http://archive.ubuntu.com/ubuntu/ feisty main restricted
  2. Update the new lists of packages by doing:
    sudo apt-get update
  3. Install update-manager-core package:
    sudo apt-get install update-manager-core
  4. Launch the upgrade tool:
    sudo do-release-upgrade
  5. Follow the on-screen instructions

Using these instructions, I was able to upgrade my server to the latest Ubuntu release. I have done it via a SSH link, and despite an alarming warning the upgrade was performed flawlessly. It is nonetheless recommended to not perform the upgrade via SSH, especially if you do not have a physical access to your machine. If you have easy access to it and can afford to have some downtime, you could risk – like I did – to perform the upgrade via SSH.

Tips: You could use carthik tip to have a faster upgrade to Feisty.