|
|
|
Updating FreeBSD 5.3 with
|
|
1. |
cd
/usr/ports/net/cvsup-without-gui
|
|
2. |
make install clean
|
|
3. |
cvsup -g -L 2 -h cvsup.freebsd.org This synchronizes your ports collection with the versions found on the FreeBSD mirrors. Depending on your connection speed, this could take a while. If http://cvsup.freebsd.org is busy, pick a local mirror from the list of CVSup servers at www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-MIRRORS. |
|
4. |
cd
/usr/ports/sysutils/portupgrade
|
|
5. |
make install clean
|
|
6. |
/usr/local/sbin/portsdb -Uu
|
After CVSup and portupgrade have been installed, you can use them to update the packages installed on your system ( Code Listing C.2 ).
[View full width]
bsd# /usr/local/bin/cvsup -g -L 2 -h cvsup.freebsd.org /usr/share/examples/cvsup/ports-supfile Parsing supfile "/usr/share/examples/cvsup/ports-supfile" Connecting to cvsup.freebsd.org Connected to cvsup.freebsd.org Server software version: SNAP_16_1e Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection ports-all/cvs Edit ports/INDEX-5 Add delta 1.21 2004.10.14.22.17.33 Kris . . . bsd# /usr/local/sbin/portsdb Uu Updating the ports index ... Generating INDEX.tmp - please wait... Done. Done [Updating the portsdb <format:bdb1_btree> in /usr/ports ... - 11846 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000...
......8000.........9000.........10000.........11000........ ..... done] bsd# /usr/local/sbin/portversion -l "<" [Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 22 packages found (-0 +22) ...................... done] libtool < bsd# /usr/local/sbin/portupgrade arR -> Upgrading 'libtool-1.5.8' to 'libtool-1.5.10' (devel/libtool15) -> Building '/usr/ports/devel/libtool15' ===> Cleaning for libtool-1.5.10 ===> Vulnerability check disabled, database not found >> libtool-1.5.10.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from http://ftp.gnu.org/gnu/libtool/.
|
1. |
/usr/local/bin/cvsup -g -L 2 Synchronize your local ports collection with the FreeBSD mirrors. |
|
2. |
/usr/local/sbin/portsdb -Uu
|
|
3. |
/usr/local/sbin/portversion -l
"<"
|
|
4. |
/usr/local/sbin/portupgrade -arR
|
That's all there is to it! Your FreeBSD system is now up-to-date.
|
|
|