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

5,646

Solution 1

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.

Solution 2

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

Solution 3

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.

Solution 4

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

Solution 5

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

Share:
5,646

Related videos on Youtube

nickf
Author by

nickf

Javascript nerd. Senior Software Engineer at Google. Ex-SoundClouder.

Updated on September 17, 2022

Comments

  • nickf
    nickf over 1 year

    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?

    • ta.speot.is
      ta.speot.is about 14 years
      Have you tried recompiling the kernel?
    • quack quixote
      quack quixote about 14 years
      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/*
    • nickf
      nickf about 14 years
      @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
    • rubo77
      rubo77 about 10 years
      I have the same problem from 12.04 to 14.04: askubuntu.com/questions/449414.
  • Marek Grzenkowicz
    Marek Grzenkowicz about 14 years
    The 'Network Upgrade for Ubuntu Servers' section may be especially helpful - try the sudo do-release-upgrade command.
  • nickf
    nickf about 14 years
    I tried all those (see the original post): I keep getting "No new release found"
  • ta.speot.is
    ta.speot.is about 14 years
    Kernel needs recompiling
  • Jjames
    Jjames about 14 years
    @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.
  • Jjames
    Jjames about 14 years
    @nickf: Please see my edit.
  • rubo77
    rubo77 about 10 years
    or just in one line: sudo sed -i 's/jaunty/karmic/g' /etc/apt/sources.list; sudo aptitude update && sudo aptitude dist-upgrade