Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Oct 2009 01:57:21 +0300
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        Chris Stankevitz <cstankevitz@toyon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Updating the ports collection
Message-ID:  <4ACBCB51.5090901@otenet.gr>
In-Reply-To: <4ACBC82C.3030502@toyon.com>
References:  <4ACBC82C.3030502@toyon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Stankevitz wrote:
>
> The FreeBSD handbook section 4.5.1 describes several methods for
> obtaining the ports collection including CVSup, Portsnap, and sysinstall.
>
> Section 4.5.1 also describes how to update the ports collection, but
> only for the CVSup and Portsnap methods.
>
> Q1: How do I update the ports collection after using sysinstall to
> obtain it?

You can use csup as explained in section 4.5.1.  This will update the
Ports Collection  you installed from CD/DVD
by fetching only the required newer files

Or, you can use portsnap too like this:

First time:
portsnap fetch extract

Subsequent times:
portsnap fetch update


If you are starting with an empty Ports tree (for example you skipped
installing it from CD during sysinstall) portsnap will be faster than
csup. (Note you can start with an empty tree and csup as well)

Anytime you decide to switch from csup to portsnap, always perform an
'extract'
>
> Q2: Is this explained in the handbook?  If so, where?
>

In section 4.5 as you noticed already. Portsnap is also revisited in
chapter 24:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ACBCB51.5090901>