The past weekend was the first working day of the new year for me. What better way to start than to do all those chores which you have been putting off for months, and in some cases years. Number one on my list was upgrading one of my servers form an old version of Ubuntu 5.04 to a more recent version.
The first hurdle was that 5.04 aka Hoary Hedgehog is not officially supported any more. All upgrading instructions that are found online thus do not work any more. Bummer! I should have done the upgrade sooner. Bit like wishing I had brushed my teeth more often as a child to prevent all those fillings later on.
At first I thought that this was a show-stopper and that I would need to do a fresh re-install from CD, but a bit of nosing around revealed the solution: http://old-releases.ubuntu.com/
Hooray! Using this link I could first upgrade the server from Hoary, to Breezy and then on to Dapper. As Dapper is listed as the ‘Long Term Support’ version, I am going to stick with that on my server for now, and use a spare desktop machine (or Parallels) to play with the more recent versions.
The actual update process was so slick, I was gobsmacked. What a fantastic job the Ubuntu people have done to make bumping the version for the entire operating system.
Problems? Yeah sure, but they were my own fault. During the first upgrade to Breezy there was some error messages, but it seemed to me that the whole procedure had completed, as the process had continued after the error. I then forged ahead and rebooted the server, but after that it never came back. Called the hosting company for a manual reboot, but that still didn’t help. So I drove over there and did some manual troubleshooting with a screen connected to the actual machine.
At first glance the eth0 network interface was not up, and some error message showed up during the boot for name resolution, and looking at dmesg a problem loading deferred execution. When I did a manual ifup eth0, things seemed OK, but then I could not start any ‘screen’ sessions. Trying to run a screen i would get ‘No More PTYs, Sorry could not find a PTY’. Trying to remove and add the screen package made me realize that the culprit was actually a dangling ‘ant’ package with some unresolved dependencies. Once I removed that package with an ‘apt-get remove’, and restarted the update procedure, it all ran smoothly to completion. The config files were fixed, and I could reboot and continue upgrading with a smile.
Now my auto complete searches for Arkyves finally works as they should, and I can do sorting in PyLucene as intended. Hopefully this can be a good omen for the start of a great year.
Recent Comments