Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can I upgrade a really old Gutsy server to Karmic from the command line?

share|improve this question
add comment

6 Answers 6

up vote 4 down vote accepted

You can't do a direct upgrade from Gutsy to Karmic. You will have to Upgrade one version at a time to Karmic. Ubuntu actually reccomends a fresh install for a system that old, and honestly I do too, you'll run into too many odd issues and missing repositories (since Gutsy is no longer supported) to make in place upgrades really worth the time spent.

Ubuntu's Upgrade documentation has good documentation on going from one version to another.

From the above page here is the EOL upgrade instructions

share|improve this answer
add comment

It will probably be easier to simply make a full backup, reinstall clean, and then reconfigure the system and restore your data.

There is no supported direct upgrade path. You will need to upgrade from gutsy -> hardy -> intrepid -> jaunty -> karmic.

The general steps you'll want to follow are

  • Do a sudo apt-get update
  • Do a sudo apt-get dist-upgrade (This will update the update-manager-core package which includes do-release-upgrade.
  • Run do-release-upgrade
  • Repeat, above until you are up to karmic

If you don't have a full backup you should make one before you start. A lot of changes have been made between gutsy and karmic. Things are likely to break, and you'll have to adjust configurations to fix things.

If you have used any non-official repositories you should disable those, and note any packages that came from the non-official locations. If you have manually compiled anything you should make sure you have notes for that.

share|improve this answer
add comment

The official UpgradeNotes from Canonical recommend doing either:

  1. Backup, followed by fresh install with new version
  2. Upgrade through each successive version

They explicitly recommend against skipping versions during an upgrade. Assuming that advice is sound, you have a long road ahead. I would start with looking through the general UpgradeNotes, and then drill down into the individual steps you may have to take.

share|improve this answer
add comment

As long as you are going to be doing a full backup anyway, the better route may be to just do a fresh install of Karmic.

share|improve this answer
add comment

This doesn't actually answer your question, but if you upgrade to hardy and wait six months you'll be able to upgrade straight to Lucid. (LTS to LTS direct upgrades are supported)

share|improve this answer
add comment

I tend to do clean reinstalls (backup / format / install / restore) whenever possible. It's a great opportunity to get rid of all the crap that inevitably accumulates on any system.

Having a clean machine is great.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.