10

I'm running Ubuntu 13.04, and would like to upgrade to 14.04.

Entering the following commands gives me output indicating that it cannot be done.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.04
Release:    13.04
Codename:   raring
$ sudo do-release-upgrade 
Checking for a new Ubuntu release
No new release found

How can this be done?

(I have the ISO file for 14.04 too, if that makes a difference)


Update:

As per the sugestion below, I tried this, to no avail?

$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
No new release found

Update:

Further investigation revealed that updates were not working too.

$ sudo apt-get update
# truncated
E: Some index files failed to download. They have been ignored, or old ones used instead.

Are there any software sources that still host raring (13.04)?


Update:

Editing the software sources to point to old-releases.ubuntu.com worked, enabling

sudo apt-get update && sudo apt-get dist-upgrade

To run as expected. However,

sudo do-release-upgrade -d

still yields the same result:

Checking for a new Ubuntu release
No new release found
Luis Alvarado
  • 216,643
bguiz
  • 512

1 Answers1

21

You are running Ubuntu 13.04. Ubuntu 13.04 has reached it's end of life support on January 27th, 2014, so you will not be able to do install/upgrade anything right now, that's why your apt-get update command is not working.

You should know that if you want to upgrade to 14.04, you have to follow the following upgrade order: 13.04 → 13.10 → 14.04.

  1. You first need to edit your sources to use the "old releases" repositories. You can do this by running the following command:

    sudo sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
    
  2. Now, run the following:

    sudo apt-get update && sudo apt-get dist-upgrade
    

    This will upgrade all the packages to the latest available versions.

  3. Now, try the Ubuntu upgrade:

    sudo do-release-upgrade -d
    

    This should work and prompt you to upgrade to 13.10. Do the upgrade, and then go through the same steps again to upgrade from 13.10 to 14.04.

In my opinion, it's just easier to do a fresh install of 14.04 using the ISO file you have, if you know how to do that, that is, and that there's not much data to backup.

Alaa Ali
  • 32,213