blackcube2# freebsd-update fetch
したら、
WARNING: FreeBSD 9.0-RELEASE is approaching its End-of-Life date. It is strongly recommended that you upgrade to a newer release within the next 4 weeks.
と、言われたんで、念のために
freebsd-update fetch freebsd-update install
してから、
blackcube2# freebsd-update upgrade -r 9.1-RELEASE Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 9.0-RELEASE from update4.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/src world/base world/doc world/games world/lib32 The following components of FreeBSD do not seem to be installed: Does this look reasonable (y/n)? y Fetching metadata signature for 9.1-RELEASE from update4.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. Inspecting system... done. Fetching files from 9.0-RELEASE for merging... done. Preparing to download files... done. Fetching 13997 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....21 13960....13970....13980....13990... done. Applying patches... done. Fetching 23383 files... done. Attempting to automatically merge changes in files... done. The following file could not be merged automatically: /etc/defaults/periodic.conf Press Enter to edit this file in vi and resolve the conflicts manually...
The following file could not be merged automatically: /etc/hosts.allow Press Enter to edit this file in vi and resolve the conflicts manually...
The following file could not be merged automatically: /etc/mail/mailer.conf Press Enter to edit this file in vi and resolve the conflicts manually...
The following file could not be merged automatically: /etc/master.passwd The following file could not be merged automatically: /etc/newsyslog.conf The following file could not be merged automatically: /etc/passwd The following file could not be merged automatically: /etc/syslog.conf
ゲットしたら、インストール。
# freebsd-update install
この段階では、kernelだけが新しくなるので、再起動して新しいkernelで動作させる。
# shutdown -r now
次に残りの更新をインストールして再起動する。
# freebsd-update install # shutdown -r now
root@blackcube2:/root # uname -a FreeBSD blackcube2 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 root@blackcube2:/root #
30 1 * * * root /root/CVSUP/9_1/cvsup-releng_9_1.sh
RELENG_9_0なマシンは、結構あるにゃ