kieranbarnes Independent PHP, WordPress & CubeCart Programmer

Upgrade Ubuntu Dapper to Karmic

Posted on November 17, 2009

I found an old server at a clients site today that went down during a UPS outage last weekend. It turns out it was last rebooted 645 days ago. What a trooper! It was running Ubuntu 6.06 (Dapper Drake).

Not even the LTS version of Dapper, but the original release. Anyway, I digress, it didn't reboot properly so I thought I'd upgrade it.

The first problem is that Dapper, Edgy, Feisty and Gutsy have been removed from the usual Ubuntu distribution mirrors.

You will need to edit /etc/apt/sources and replace XX.archive with old-releases. Where XX is your country code. Mine was GB.  Once you've done this, replace dapper with edgy. We will need to run through Edgy, Feisty, Gutsy, change some settings and carry on through Hardy, Intrepid, Jaunty and onto Karmic. (The latest release as of November 2009).

Save the sources file and run apt-get update. Once complete run apt-get dist-upgrade.

This ran flawlessly for me, but you may have some issues you have to force through (apt-get -f install).

Once complete, reboot.

Once rebooted edit /etc/apt/sources and replace edgy with feisty. Run apt-get update and dist-upgrade again.

Do the same again for gutsy.

Once we're at 7.10 Gusty, we need to change the sources file again because we can use the usual Ubuntu distribution mirrors .edit /etc/apt/sources and replace old-releases with XX.archive with . Where XX is your country code. Mine is GB.

Save the sources file and run apt-get update. Once complete run apt-get dist-upgrade.

Run the same process again for Hardy, Intrepid and finally Karmic.

Don't forget to reboot after each one.


Related posts

  1. Ubuntu sources.list Generatror
    I had a problem with some slow Ubuntu sources today, instead of changing the whole...
  2. WordPress 2.5 Upgrade
    This morning I upgraded to the latest WordPress 2.5, along with, perhaps, 500,000 other people......
  3. Ubuntu Upgrades
    Here is a really simple way of upgrading your Ubuntu system. After the initial setup,...
  4. WP-o-Matic Upgrade Fix
    So I rolled out some WP-o-Matic upgrades recently. I was all excited that version 1.0RC3-7...
  5. NTLM Authentication for apt-get’ed Ubuntu
    Following on from NTLM Authentication on Ubuntu and Apache2 Revisited this morning, this is how...

Posted by Kieran


Tagged as: , , Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.