Subject: Re: Upgrading NetBSD?
To: None <oinkfreebiker@att.net>
From: David Burgess <burgess@mitre.org>
List: port-i386
Date: 06/26/2001 17:27:32
The upgrade from 1.5 to 1.5.1 should be pretty simple:

Download the tar files from the server into a directory on your hard
drive; I use /usr/snapshot.

Type the following:

	mkdir not_me
	mv etc* not_me
	sh
	cd /usr/snapshot
	for i in *.tar.gz
	do
		tar -xvzf $i -C/ --unlink
	done
	exit
	reboot

	Cross Fingers, and invoke whatever diety you prefer.  While this
doesn't actually help, it should make you feel better during the few
seconds when you can't tell it the new kernel is going to work.

This will update everything in the system EXCEPT the contents of the
files in the /etc
directory.  You should untar the etc*gz file into a different directory
and go through the files (more or less) one by one.  You can use 'diff'
to compare the old files with the new files, or you can do it by hand,
or whatever.

The /etc files are (as far as I'm concerned) the only reason this can't
be automated.  If you need a new kernel (or a custom kernel), you can
load it once the system comes up.

This process was ugly in the 1.4 to 1.5 upgrade because of the ELF
stuff, but the 1.5 to 1.5.1 upgrade should go fairly snmoothly.  At
least, I'm hoping it does, since I have 22 server I need to upgrade as
soon as 1.5.1 is ready for prime-time.

Dave

oinkfreebiker@att.net wrote:
> 
> Beware: Newbie dumb question follows...
> 
> To upgrade my IBM Thinkpad 380Z laptop from NetBSD 1.5 to
> NetBSD 1.5.1 when it becomes available, will it require a
> total re-install, or will it be as neat and simple as
> "pkg add something"?
> 
> Thanks,
> Gan Starling
> Kalamazoo MI USA
> 
> Why I ask: I would be interested to upgrade NetBSD mainly
> on account of also wanting to install KDE 2.x supported
> under NetBSD 1.5.1 versus the current package KDE 1.2.1
> which is supported under NetBSD 1.5. This because CSS
> does not seem to be supported in the Navigator of KDE
> 1.2.1.