To quickly remove all packages from your system:
After the upgrade, install the new versions of these applications.pkg_delete -q /var/db/pkg/*
The upgrade process may overwrite some X configuration files, you may wish to backup your /etc/X11 directory before upgrading.
Sometimes, one needs to do an upgrade of a machine that one can't easily use the normal upgrade process. One can usually do this by carefully following a process similar to a source-based upgrade:
Note the extra steps for copying over the primary kernel: those are done to ensure that there is always a valid copy of the kernel on the disk that the system can boot from should there be a really badly timed power outage or system crash.cd /path rm /obsd ; ln /bsd /obsd && cp bsd /nbsd && mv /nbsd /bsd cp bsd.rd /
Note: not all file sets will need to be installed for all applications, however, if you installed a file set originally, you should certainly upgrade it with the new file sets now. Also note that etc35.tgz is NOT unpacked here, as it is handled separately.cd / tar xzpf /path/base35.tgz tar xzpf /path/comp35.tgz tar xzpf /path/game35.tgz tar xzpf /path/man35.tgz tar xzpf /path/misc35.tgz tar xzpf /path/xbase35.tgz tar xzpf /path/xfont35.tgz tar xzpf /path/xserv35.tgz tar xzpf /path/xshare35.tgz
Also see any version-specific notes below.cd /dev ./MAKEDEV all
Nov 1 12:47:05 puffy sm-mta[16733]: filesys_update failed: No such file or dire ctory, fs=., avail=-1, blocksize=380204These messages can be safely ignored, or you may wish to halt sendmail(8) during the upgrade process.
These steps will add both the new users and their corresponding groups. Your environment may allow you to cut/paste those commands.useradd -u74 -g=uid -c"pflogd privsep" -d/var/empty -s/sbin/nologin _pflogd useradd -u75 -g=uid -c"BGP Daemon" -d/var/empty -s/sbin/nologin _bgpd useradd -u76 -g=uid -c"tcpdump" -d/var/empty -s/sbin/nologin _tcpdump
Files that can probably be copied from etc35.tgz "as is":cd /tmp tar xzpf /path/etc35.tgz
Note that it IS possible to locally modify these files, if this has been done, manual merging will be needed. Here are copy/paste lines for copying these files, assuming you unpacked etc35.tgz in the above recommended place:bgpd.conf changelist locate.rc moduli netstart pf.os protocols rc security sensorsd.conf services var/named/standard/root.hint mtree/*
cd /tmp/etc cp bgpd.conf changelist locate.rc moduli netstart pf.os \ protocols rc security sensorsd.conf services /etc cp mtree/* /etc/mtree/ cp ../var/named/standard/root.hint /var/named/standard
Files that must be manually merged, respecting any local changes made to them:
Finally, use mtree(8) to create any new directories:ftpusers inetd.conf login.conf lynx.cfg newsyslog.conf rc.conf rc.local remote sysctl.conf ttys mail/*
After the final reboot, you should have a fully functional 3.5 system. At this point, you can upgrade to 3.6 if desired.mtree -qdef /etc/mtree/4.4BSD.dist -p / -u