On Fri, Apr 06, 2007 at 09:36:22AM +0600, Artyom Goryainov wrote:
Hi, all! How can I painlessly upgrade OpenBSD 3.1 to 4.0 without
reinstalling all system and soft?
You can't. Far too much changed in between; it's a better idea to just
reinstall, upgrading no less than nine times just isn't a winning
proposition.
Here's what I would do:
1. Find etc31.tgz
2. Unzip it
3. Diff /etc and the contents of etc31.tgz
4. Make a good backup of the old machine
5. Reinstall (preferably 4.1 - pre-order now!)
6. Manually merge the diff from step 3 (automatic patching is not
feasible for most files)
7. Test that everything works
Note that you *will* have to do some work to get everything working
again; most software (BIND, Apache) included with OpenBSD has been
upgraded quite a bit, for instance. And the same is true of most of the
OpenBSD system; OpenBSD is rather conservative, but not *that*
conservative.
Joachim
--
TFMotD: perlstyle (1) - Perl style guide