Ubuntu – How to Upgrade from 9.04 to 9.10 When Update Manager Fails

Ubuntuubuntu-9.04ubuntu-9.10upgrade

I've been trying to upgrade my installation of Ubuntu 9.04 to 9.10, but all of the instructions I've found haven't been helping. They mostly say to run the update manager and it'll tell you that there's a new distribution ready. Well, mine doesn't say that.

Things I've run or checked:

  • update-manager -d says:

    Your system is up-to-date
    The package information was last updated less than one hour ago.

  • I've set it to get all new distributions, not just LTS

    $ cat /etc/update-manager/release-upgrades
    [DEFAULT]
    # default prompting behavior, valid options:
    #  never  - never prompt for a new distribution version
    #  normal - prompt if a new version of the distribution is available
    #  lts    - prompt only if a LTS version of the distribution is available
    Prompt=normal
    
  • I'm definitely running 9.04

    $ lsb_release -r
    Distributor ID: Ubuntu
    Description:    Ubuntu 9.04
    Release:        9.04
    Codename:       jaunty
    
  • Even running the release upgrade from console doesn't help:

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

This is running from behind a proxy, but I've set it up such that the regular upgrades and apt-get etc doesn't complain. (export http_proxy=http://myuser:mypass@myserver:8080/)

Could you think of anything else which might be stopping me from upgrading?

Best Answer

I replaced jaunty with karmic in /etc/apt/sources.list, then re-ran apt-get update, apt-get upgrade, apt-get dist-upgrade.

$ sudo vi /etc/apt/source.list

then in vi substitute jaunty for karmic

:%s/jaunty/karmic/g

Save it:

:wq!

Then run apt-get update:

$ sudo apt-get update

Then run apt-get upgrade:

$ sudo apt-get upgrade

Then run apt-get dist-upgrade:

$ sudo apt-get dist-upgrade

None of the other solutions recommended by anyone else fixed the issue for me. This worked like a charm to force an upgrade from 9.04 to 10.04.

Related Question