Ubuntu: update, don't reinstall!
I've seen a lot of people talk about simply reinstalling Ubuntu with the latest CD in order to update it to the latest version. I think that's a bad habit from other OS's. For as long as I've used Debian and its derivatives, the ability to update the system has been one of its strong points.
Here are some reasons to run the updates instead of upgrading via a fresh install:
You don't lose your old configuration information, and by choosing to see the diff's in configuration files, you can even choose which config files to update, and how.
No need to shut down a running system.
By keeping an eye on obsolete packages, you really don't build up any cruft at all, so that's not a reason to do a fresh install.
With a decent internet connection, it's probably just as fast, if not faster, when you consider it takes a bit of time to get everything installed just the way you want it.
Indeed, yesterday, I upgraded a server I run in Texas from Ubuntu's edgy eft to hardy heron, remotely, with one reboot at the end to make it pick up the new kernel, and the whole thing came off without a hitch!
Trackbacks
Use the following link to trackback from your own site:
http://journal.dedasys.com/trackbacks?article_id=1871
about 1 hour later:
I'm one of the people that recommend reinstalling ubuntu rather than trying to upgrade it. But that's because most people don't use only the supported packages, and install things from multiverse and from backports. I'm currently a full Debian user again, and one of the reasons for me to switch back to debian was a failed upgrade from 6.0x to 7.0x that resulted in the machine not booting anymore (failed udev upgrade).
So, update, don't reinstall! as long as you're using only the supported packages.
about 2 hours later:
I think a reason some people (a lot?) reinstall instead of upgrade is because earlier the dist-upgrade mechanism in ubuntu was or could be rather well, picky about which installations would run well after the upgrade.
My feisty to gutsy upgrade was a disaster for example...a lot of things refused to work properly (from a rather vanilla feisty no less). I know it has improved a lot, and the gutsy to hardy upgrades I've performed has worked without a hitch - as did the LTS to LTS server upgrade.
about 2 hours later:
I tested Update for every new version of Ubuntu. It always pathetically failed on my laptop. The last update I did was from 7.04 to 8.04, and it left my computer with a kernel panic when booting...
As I have 10 partitions, and as I only format /, /boot, /bin, /usr and /var..., my data are just safe, as soon as I don't forget to backup /etc before re-installing.
I wish Update works well, but, eh, this is not the case !!!
about 3 hours later:
I don't reinstall (my desktop's been running Ubuntu since hoary or breezy I think), but there is a compelling reason to: we can't have only new users testing the installer. Experienced users are almost by definition "worked for me" but that could have been ages ago, before Automatix so brilliantly decided to add incompatible packages etc.
Most of the developers understand the benefits of dist-upgrade. You may simple be seeing efforts to get Ubuntu developers to test the install, since you run in the same circles as them ;)
about 4 hours later:
A couple of unrelated points:
Otherwise, I agree entirely about upgrading. That's why I've switched back to Debian sid - upgrading is all there is - there's no way to install it.
about 13 hours later:
I tend to install Ubuntu on systems of friends who want to try Linux - 3 of them tried a upgrade - 3 got a system that didn't boot or showed many errors and nearly nothing worked.
If you use Ubuntu it seems to be a good idea to reinstall your system.
about 19 hours later:
All I can say about the botched upgrades is "weird". It does make me suspicious that there's something more to the story than meets the eye, though. Hopefully, some of you who are more expert will provide some bug reports with your observations of what went wrong, so as to help improve the situation, as updating really is a superior solution to a slow, blunt reinstall.