From owner-freebsd-questions@FreeBSD.ORG Tue Oct 6 22:57:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78327106568B for ; Tue, 6 Oct 2009 22:57:24 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id D67AE8FC1B for ; Tue, 6 Oct 2009 22:57:23 +0000 (UTC) Received: from pulstar.local (athedsl-4489411.home.otenet.gr [94.71.76.203]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id n96MvLbj007771; Wed, 7 Oct 2009 01:57:21 +0300 Message-ID: <4ACBCB51.5090901@otenet.gr> Date: Wed, 07 Oct 2009 01:57:21 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Chris Stankevitz References: <4ACBC82C.3030502@toyon.com> In-Reply-To: <4ACBC82C.3030502@toyon.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Updating the ports collection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 22:57:24 -0000 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