Upgrading Ubuntu 9.04 to 9.10 when Update Manager doesn't let you

8

1

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?

nickf

Posted 2010-03-09T07:10:29.283

Reputation: 2 081

Have you tried recompiling the kernel? – ta.speot.is – 2010-03-19T06:34:13.880

what repositories do you have enabled? if your update manager isn't listing the upgrade to 9.10 it's possible your Apt config isn't pointing to the normal repos. check /etc/apt/sources.list and /etc/apt.d/* – quack quixote – 2010-03-19T10:07:57.140

@quack: i haven't done anything special to my repos: they seem normal to me: deb http://au.archive.ubuntu.com/ubuntu/ jaunty multiverse etc – nickf – 2010-03-22T00:16:45.690

I have the same problem from 12.04 to 14.04: http://askubuntu.com/questions/449414.

– rubo77 – 2014-04-19T09:16:10.187

Answers

6

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.

ewr2san

Posted 2010-03-09T07:10:29.283

Reputation: 76

or just in one line: sudo sed -i 's/jaunty/karmic/g' /etc/apt/sources.list; sudo aptitude update && sudo aptitude dist-upgrade – rubo77 – 2014-04-19T09:17:39.697

4

Maybe the upgrade documentation does help you. There are two other ways on how to do it.

Edit: This guide does also have a new method using the console...if that doesn't work I'm out of ideas, sorry:

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

Bobby

Posted 2010-03-09T07:10:29.283

Reputation: 8 534

The 'Network Upgrade for Ubuntu Servers' section may be especially helpful - try the sudo do-release-upgrade command. – Marek Grzenkowicz – 2010-03-19T08:39:03.233

I tried all those (see the original post): I keep getting "No new release found" – nickf – 2010-03-22T00:14:55.070

Kernel needs recompiling – ta.speot.is – 2010-03-22T03:26:44.067

@taspeotis: I'm not totally sure if you just 'don't know it better' or just try to troll. Recompiling the kernel in Ubuntu won't fix anything, especially since Ubuntu isn't a Source-Distro. – Bobby – 2010-03-22T08:17:15.113

@nickf: Please see my edit. – Bobby – 2010-03-22T08:22:35.933

2

Went through the same channels outlined here to try to get it to upgrade. None of them worked.

So I went back to the drawing board.

I had ignored posts that said to just do Alt + F2 (for the Run App window) then type "update-manager -d".

I assumed it was just a keyboard shortcut to Update Manager and I could do that just as easily using System | Administration | Update Manager.

But that -d switch must've made the difference because when I accessed Update Manager through the Run Application window using the -d switch there it was! - the mysterious missing Upgrade to 9.10 prompt.

keen-eye

Posted 2010-03-09T07:10:29.283

Reputation: 21

2

Did you already tried to upgrade using a CD/DVD?

dag729

Posted 2010-03-09T07:10:29.283

Reputation: 1 894

1

Change jaunty to karmic in /etc/apt/sources.list.

milhi

Posted 2010-03-09T07:10:29.283

Reputation: 11