Updating FreeBSD: Difference between revisions

Line 23: Line 23:
===Portsnap===
===Portsnap===
The first time portsnap(8) is run, use the following method: <tt>portsnap fetch extract</tt> (on older versions of portsnap, you'll also need append a configuration file argument via <tt>-f</tt>; the default works just fine for most cases, ie <tt>portsnap fetch extract -f /usr/local/etc/portsnap.conf.sample</tt>). Following this (time-consuming) run, <tt>portsnap fetch upgrade</tt> is sufficient to pull in package updates (the same rule about <tt>-f</tt> applies).
The first time portsnap(8) is run, use the following method: <tt>portsnap fetch extract</tt> (on older versions of portsnap, you'll also need append a configuration file argument via <tt>-f</tt>; the default works just fine for most cases, ie <tt>portsnap fetch extract -f /usr/local/etc/portsnap.conf.sample</tt>). Following this (time-consuming) run, <tt>portsnap fetch upgrade</tt> is sufficient to pull in package updates (the same rule about <tt>-f</tt> applies).
This can be followed with <tt>portupgrade -ai</tt> to actually rebuild ports.


===Cvsup===
===Cvsup===