Subject: Installation subtleties
To: None <port-macppc@netbsd.org>
From: Donald Lee <MacPPC@caution.icompute.com>
List: port-macppc
Date: 03/21/2004 01:06:22
All,

I am trying to upgrade my machine from NetBSD 1.6.1 to NetBSD 1.6.2.

My basic plan is to unpack the distro tarballs on top of the running
system, and then reboot.  Naturally, I need to deal with the changes in
/etc and elsewhere.

Because I am a naturally paranoid soul, I did some checking on exactly
what is in the tarballs.  My comparison of the files in my running system
and the tarballs came up with *lots* more differences than I expected.
In particular, there are files that were in 1.6.1 that are not
in 1.6.2.  (list below)

There are also files that are hard-links in 1.6.2 that
are not in 1.6.1.

Experimentation indicates that tar will "correctly" deal with the
hard links.

Old (obsolete) dynamic libraries should not pose a hazard.

Are there any other cases where leaving the obsolete files lying around can
cause problems?  (list below)

Is this the "recommended" way to do an upgrade like this these days?
Documentation seems to say "use sysinst".

-dgl-

(generated from a diff of file lists from a find(1) on each of the
running system and contet of 1.6.2 distro) Files *added* in 1.6.2
omitted from the list.  Only the files changed or deleted are
included.)

1594c361
< /usr/X11R6/bin/bdftruncate.pl
---
> /usr/X11R6/bin/bdftruncate
1648c422
< /usr/X11R6/bin/ucs2any.pl
---
> /usr/X11R6/bin/ucs2any
1674,1675c449
< /usr/X11R6/bin/xftcache
< /usr/X11R6/bin/xftlsfonts
---
> /usr/X11R6/bin/xft-config
1886c663
< /usr/X11R6/include/X11/Xft/XftFreetype.h
---
> /usr/X11R6/include/X11/Xft/XftCompat.h
2178c981,983
< /usr/X11R6/include/freetype2/freetype/internal/ftextend.h
---
> /usr/X11R6/include/freetype2/freetype/internal/ftexcept.h
> /usr/X11R6/include/freetype2/freetype/internal/ftgloadr.h
> /usr/X11R6/include/freetype2/freetype/internal/fthash.h
2185d991
< /usr/X11R6/include/freetype2/freetype/internal/psglobal.h
2206c1013
< /usr/X11R6/lib/X11/XftConfig
---
> /usr/X11R6/lib/X11/Xcms.txt
3550,3556d5641
< /usr/X11R6/lib/X11/locale/common
< /usr/X11R6/lib/X11/locale/common/ximcp.so.2
< /usr/X11R6/lib/X11/locale/common/xlcDef.so.2
< /usr/X11R6/lib/X11/locale/common/xlcUTF8Load.so.2
< /usr/X11R6/lib/X11/locale/common/xlibi18n.so.2
< /usr/X11R6/lib/X11/locale/common/xlocale.so.2
< /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2
3764c5874,5890
< /usr/X11R6/lib/X11/xedit/lisp/fun.lsp
---
> /usr/X11R6/lib/X11/xedit/lisp/indent.lsp
> /usr/X11R6/lib/X11/xedit/lisp/lisp.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/c.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/html.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/imake.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/lisp.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/make.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/man.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/rpm.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/sgml.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/sh.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/xconf.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/xlog.lsp
> /usr/X11R6/lib/X11/xedit/lisp/progmodes/xrdb.lsp
> /usr/X11R6/lib/X11/xedit/lisp/syntax.lsp
> /usr/X11R6/lib/X11/xedit/lisp/xedit.lsp
4026c6249
< /usr/X11R6/lib/X11/xkb/types/cancel
---
> /usr/X11R6/lib/X11/xkb/types/caps
4032d6254
< /usr/X11R6/lib/X11/xkb/types/nocancel
4110,4111c6355,6356
< /usr/X11R6/lib/libXrandr.so.1
< /usr/X11R6/lib/libXrandr.so.1.0
---
> /usr/X11R6/lib/libXrandr.so.2
> /usr/X11R6/lib/libXrandr.so.2.0
4115c6360
< /usr/X11R6/lib/libXrender.so.1.1
---
> /usr/X11R6/lib/libXrender.so.1.2
4142,4143c6413,6414
< /usr/X11R6/lib/libfreetype.so.8
< /usr/X11R6/lib/libfreetype.so.8.0
---
> /usr/X11R6/lib/libfreetype.so.9
> /usr/X11R6/lib/libfreetype.so.9.0
4191,4193d6467
< /usr/X11R6/lib/modules/drivers/cirrus_alpine.o
< /usr/X11R6/lib/modules/drivers/cirrus_drv.o
< /usr/X11R6/lib/modules/drivers/cirrus_laguna.o
4341,4342d6635
< /usr/X11R6/man/cat1/xftcache.0
< /usr/X11R6/man/cat1/xftlsfonts.0
4794c7095
< /usr/X11R6/man/cat3/XRebindKeySym.0
---
> /usr/X11R6/man/cat3/XRebindKeysym.0
5908d8211
< /usr/X11R6/man/cat4/cirrus.0
5952d8260
< /usr/bin/addr
6140d8447
< /usr/bin/mkservdb
7566c9872
< /usr/lib/libc.so.12.83.1
---
> /usr/lib/libc.so.12.83.2
7831c10137
< /usr/lib/libutil.so.6.0
---
> /usr/lib/libutil.so.6.0.1
8102d10372
< /usr/sbin/irpd
11984d14275
< /usr/share/man/cat4/mac68k/adb.0
11991d14281
< /usr/share/man/cat4/mac68k/mc.0
12001c14291,14292
< /usr/share/man/cat4/macppc/mc.0
---
> /usr/share/man/cat4/macppc/mesh.0
> /usr/share/man/cat4/macppc/obio.0
16450d18750
< /usr/share/man/man4/mac68k/adb.4
16457d18756
< /usr/share/man/man4/mac68k/mc.4
16467c18766,18767
< /usr/share/man/man4/macppc/mc.4
---
> /usr/share/man/man4/macppc/mesh.4
> /usr/share/man/man4/macppc/obio.4
19536d21784
< /var/db/kvm.db
19661,19662d21832
< /var/log/xferlog.0.gz
< /var/log/xferlog.1.gz