Subject: Re: Upgrading NetBSD?
To: None <burgess@mitre.org>
From: maximum entropy <entropy@tappedin.com>
List: port-i386
Date: 06/26/2001 19:41:44
>Date: Tue, 26 Jun 2001 17:27:32 -0500
>From: David Burgess <burgess@mitre.org>
>
>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.

Cross your fingers really hard, because that won't quite work :-).
Substitute instead:

>	sh
>	cd /usr/snapshot
>	mkdir not_me
>	mv etc* not_me
>	for i in *.tgz
>	do
>		tar -xvzpf $i -C /
>	done
>	exit
>	reboot

You want to be in the directory with the tarballs when you try to move
etc.tgz out of the way.

The distribution files tend to be named with a ".tgz" extension, not ".tar.gz"

The "p" will properly set the permissions on the unpacked files.

And you really don't need to say "--unlink", since that has been the
default for several years.

Cheers,
entropy

--
entropy -- it's not just a good idea, it's the second law.