Updating Ubuntu Jaunty 9.04 to Natty 11.04

As you’ve probably found out upgrading your out dated install of Ubuntu is prooving to be quite an effort! You’ve probably googled a bit first to see the process involved and been hit with alot of people saying you cant update Jaunty to Lucid ~ Natty, or even you’ve just tried to update via the usual method and its not worked e.g:-

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install update-manager-core
$ sudo do-release-upgrade

So what i’ll do is walk you through how to update Ubuntu to Lucid and then the “fun” really starts. What you’ll find is when the update manager “apt” throws this message back in your face you’ll be stuck in a void of nothing and won’t be able to update without manually intervening.

Checking for a new ubuntu release
No new release found

I tried various other methods, and then I came across this method again of doing,

$ sudo apt-get dist-update

I thought I was onto a winner as the server started to update, only to find that when I did a lookup at the version my Ubuntu was using it reported that I was still using 9.04!

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=Jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

How annoying this is turning out to be! Right back to the drawing board.
After a good bit of googling, and a bit of intuitive I managed to get the OS to update… Well not to the latest version, but I thought If i go from Jaunty (9.04) to Karmic (9.10) then I could update to Lucid (10.04)+ Which has the LTS (Long Time Support) which in my eyes is needed for LAMP Servers!

This is how I got it to work…

You first of all need to change your /etc/apt/sources.list and inside of that file you need to comment everything out with #’s and add these lines to the very bottom

deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ jaunty-security main restricted universe multiverse

Easiest way on ubuntu to edit said file would be to do:

$ sudo nano /etc/apt/sources.list

Once you’ve done that, and saved the file with CTRL + X then hit Y for allowed to Overwrite, and its just a case of running the apt update commands again like so:

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

Once thats all updated you should be running a most upto date version of Jaunty, after this you need to update to Karmic.
So to do this we need to tell apt-where to look for Karmic update, So its back into the sources to change the url from Jaunty to Karmic

Replace these lines that we added earlier:-
deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ jaunty-security main restricted universe multiverse

With these lines:-
deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse

Then save and overwrite it again, and continue to update in the same way with the following commands:-

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

Now we and make sure its updated to Karmic 9.10

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=Karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"

Note: I managed to get an issue with a package or to, and it would seem that this is a common issue, so if you come into contact with this “/var/cache/apt/archives/kdebase-runtime-data_4%3a4.4.5-0ubuntu1_all.deb” You might want to try this (At your own risk!)

$ sudo rm /var/cache/apt/archives/*
Then once you’ve done that, do the updates again (Sorry it gets boring with writing the update commands, but this is a tutorial so I’m keeping it super easy and simple).
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade

If that still throws an error, you might want to try this.

$ sudo dpkg -i --force-all /var/cache/apt/archives/kdebase-runtime-data_4%3a4.4.5-0ubuntu1_all.deb
$ sudo apt-get -f install
$ sudo apt-get autoremove

This fixed my issue, so I then moved onto checking my version with the overused command:
$ cat /etc/lsb-release

So you should be currently running Karmic 9.10! Great! You’re half way through this update.

Next time to tell the server to update to 10.04, So again we need to edit our Sources

$ sudo nano /etc/apt/sources.list

Yet this time we’re not looking for an older version so the URL are differnt.

Change this:
deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse

to this:
deb http://security.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ lucid-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ lucid-security main restricted universe multiverse

Then its just a case of rise and repeat with the update commands

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

Once thats completed, check your version!
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04.3
DISTRIB_CODENAME=Lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"

Thats you now running 10.04.3 and you now just need to repeat the exact same process for updating to Ubuntu 10.10 (Maverick) and then to Ubuntu 11.04 (Natty).
It’s a lengthy process but I’m sure you’ll all agree keeping these things updated often saves massive future headaches!

I hope that helps anyone who has been struggling updating their server install from a very out dated OS version.
Any issues or questions then please leave a comment below.

Thanks Dan.

9 responses so far, want to say something?

  1. john says:

    thanks, that was handy :)

  2. Dan Cunningham says:

    Glad I could help John!

    If I’ve helped just one person then I’ve successfully achieved the aim of this post!

    All the best to you John.

    Regards, Dan

  3. pang says:

    Dan

    That was a major help! Thanks mate.

    (Upgrading a net5501 that was running Ubuntu 9.04)

  4. Phong says:

    Why not directly update the sources.list to lucida ?
    Can it work instead of doing all upgrade one by one…

  5. Dan Cunningham says:

    @pang, No worries, Im glad it help you!

    @Phong, it doesnt work as the sources are so outdated apt gets confused and returns “Checking for a new ubuntu release, No new release found” as I mentioned in the second paragraph. I hope that clears up your concern. – Dan.

  6. Zeb says:

    Thanks for the tutorial Dan! I’ve been putting off upgrading my home server from jaunty for over a year because I thought it would be so time consuming, but as you outline, it can be done in a matter of minutes! Thanks again for the extremely friendly guide. – Zeb

  7. Ariel says:

    Thank you Dan.

    It did help me today.

  8. denis says:

    From Maverick it is supposed to be done with this util: update-manager-core. Once installed, run command: do-release-upgrade.

    Otherwise thanks, your guide saved me a lot of typing (used copy-paste from your post) :)

  9. exideweest says:

    Even if all participants of your family see 1 another everyday, bonding continues to be required. This really is in essence the easiest way to strengthen the link one of several relatives and perhaps build your partnership together more powerful. Really it is wonderful to behave outside the house but once the conditions is not that great or maybe it really is seeing outside, you can consider a variety of indoors games and things to do that may genuinely make every person feel happy. This is a great choice you can take into account. Right here are the activities and the actions you can apply in your own home.Hide and seek is amongst the most widely used online games at any time played out and this can actually be performed in the house. Somebody needs to be an InitHalf inch who will be dependable of looking for other loved ones who will be concealing. Web site that might be observed devoid of reachingVersusaccomplishing the home basic will likely then are the subsequent “it.In But in case you are reckon that that isn’t a great alternative, you may take a look at charade and that is an additional interior game. In this video game, ultimately, there has to be two clubs. You will see part which will act on the saying that is definitely composed on a piece of paper although the individuals are usually in-power over betting the word. The group most abundant in things should be announced because the victorious one.Apart from hide and seek and charade, a large collection of greeting card and board games can also be one of the perfect possibilities that you may explore. Games involve Menagerie, Ancient Cleaning service, Going, Gemstone, Slapjack and more. For board games, you may go with Scrabble, Chess, Monopoly, Family Feud and Pieces. When you have plenty of choices to check out, you simply need to opt for one which you think is absolutely entertaining.However, if you feel that taking part in the games that had been stated previously are not good enough, it is possible to decide on other items which many of the loved ones have passions in. In particular, if you’d prefer to cookVersusmake in order your family, you may get this hobby so that you can rapport with your family. You can determine every representative to try and do a particular section of the bakingOrpreparing food approach to ensure that every person will cherish. Ensure that absolutely everyone grows to take part in this sort of task. Once cuisine is cooked or even the cake is baked, you may consume it jointly together with the family. Everybody will surely be delighted to have the berries with their crews. Aside from bakingPerthe baking, you can also consider several other pursuits like piece of art, moving, performing, reading through, enjoying motion pictures and several much more.I have listed incredibly simple ways to rapport with your family but these are truly successful. There’s no need for you personally devote big money because very simple issues can unquestionably carry delight to every person especially if the parents are entire. It isn’t genuinely critical that these items should be done on a daily basis. Once per week or possibly a rare occasions a month will perform.

Leave a Reply