Ubuntu Server 6.10 to 7.04 Upgrade


My personal mail and file server was my first “production” installation of Ubuntu and I’ve been very happy with it. It was a replacement for RedHat 7.2 so as you might guess this box has been a workhorse for me for a long time. I planned to turn it into a bulletproof mail server with anti spam capabilities, SSL for all inbound connections, postfix, cyrus IMAP (new for me) backed with MySQL. I followed one of the recipes on HowtoForge and it went great. It had been running fine for a couple of years.

However, there have been some kernel security updates recently release and when I tried to install the updates, I got 404 errors from all the sources. I’m not sure what the issue was and Google wasn’t much help either so I thought maybe just upgrading would be a good idea. Since my system was so far back rev, I decided I’d better upgrade to the next release. I found an article that two methods. I used the second which I’ll describe here since it was so simple:

  1. Backup then edit the file /etc/apt/sources.list, replacing all instances of “edgy” with “feisty”.
  2. Update the source listings with this command: sudo apt-get update
  3. Do the upgrade: sudo apt-get dist-upgrade
  4. Check it with:
    1. sudo apt-get -f install
    2. sudo dpkg --configure -a
  5. Reboot: sudo reboot
  6. Make sure it worked: cat /etc/issue

First thing I noticed was that hey, the upgrade just worked! And done in under 30 minutes. The only hitch was Tomcat didn’t start so the upgrade process stopped so I could deal with it. It was complaining about the JAVA_HOME environmental variable not being set. I uninstalled it then ran “sudo dpkg –configure -a” from the command line and it finished up.

The second thing I noticed was that my IMAP service was faster (I use Outlook which typically sucks at IMAP but there seems to have been some improvements on the server side in that regard).

Everything else appears to work fine too.

Next step: continue the upgrades until I get to Hardy Heron. But I’ll let this one “settle” for a while before I do that.

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts
Ext3 File System Limits
HDR Image Processing

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Be the first to leave a comment!