offline upgrade

Eygene Ryabinkin rea-fbsd at codelabs.ru
Tue Nov 25 15:04:42 PST 2008


Good day.

Tue, Nov 25, 2008 at 02:03:33PM -0800, gahn wrote:
> I have two boxes running 6.3. For certain reasons that I can't
> upgrade them online with "freebsd-update" utility; the ftp sessions
> are blocked. Are there any other way to upgrade the system offline,
> both kernel and those needed packages?

CVSup the system and ports trees and transfer it to your system(s).  Or,
better, replicate the entire CVS repository to a removable disk and
cvsup the system and ports (you'll need the port net/cvsup-without-gui)
from that disk via local cvsupd daemon.

Then rebuild the system in a usual way (cd /usr/src; make buildworld;
make kernel; [possibly reboot to single user]; mergemaster -p; make
installworld; mergemaster; reboot).  Note that this can be painful,
especially for the first time ;))  Always read /usr/src/UPDATING and
be careful.

And use ports-mgmt/portupgrade to update all your ports.  Perhaps
the sources for some ports should be fetched manually, becase there
are some ports with all distribution sites being the FTP ones.
-- 
Eygene
 _                ___       _.--.   #
 \`.|\..----...-'`   `-._.-'_.-'`   #  Remember that it is hard
 /  ' `         ,       __.--'      #  to read the on-line manual   
 )/' _/     \   `-_,   /            #  while single-stepping the kernel.
 `-'" `"\_  ,_.-;_.-\_ ',  fsc/as   #
     _.-'_./   {_.'   ; /           #    -- FreeBSD Developers handbook 
    {_.-``-'         {_/            #
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20081125/9b4dce7c/attachment.pgp


More information about the freebsd-current mailing list