From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 15:59:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C297716A4CE for ; Tue, 21 Dec 2004 15:59:40 +0000 (GMT) Received: from smtp812.mail.sc5.yahoo.com (smtp812.mail.sc5.yahoo.com [66.163.170.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 4CAA743D49 for ; Tue, 21 Dec 2004 15:59:40 +0000 (GMT) (envelope-from gamera@pacbell.net) Received: from unknown (HELO gamerasmog.com) (gamera@pacbell.net@64.173.26.30 with login) by smtp812.mail.sc5.yahoo.com with SMTP; 21 Dec 2004 15:59:40 -0000 Date: Tue, 21 Dec 2004 07:59:36 -0800 From: Joshua Tinnin To: Gerard Seibert Message-ID: <20041221155936.GA2080@gamerasmog.com> References: <20041221053357.B6E5.GERARD-SEIBERT@rcn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041221053357.B6E5.GERARD-SEIBERT@rcn.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: 'portsdb -Uu' vs 'make fetchindex' vs 'make index' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 15:59:40 -0000 On Tue, Dec 21, 2004 at 05:34:06AM -0500, Gerard Seibert wrote: > I am not sure if I quite understand this entire ports updating scenario > correctly. I I run the command: 'cvsup ports-supfile', I then need to > run either 'portsdb -Uu' or 'make index'. I also have the option of > running 'make fetchindex' in place of either of those two proceeding > commands. Is that correct? Yes, basically. Running portsdb -U will make an index. If you run portsdb -Uu you don't have to make index as an additional step. Additionally, portsdb -u will automatically be run when it needs to be run, but you can run it manually as well. One of the fastest ways to update your tree and index is to cvsup, then cd /usr/ports && make fetchindex. You can run portsdb -u if you want, but you don't have to. It might help catch dependency problems if you do, however. > I would assume, that I should run the 'make fetchindex' command > immediately after running the 'cvsup' command. Yes, you can do that, as I mentioned above. > Does anyone have any suggestions as to a better way to accomplish this > feat? Test out different ways of updating, to find out which ones you want to use - for instance you can also use sysutils/p5-FreeBSD-Portindex - and then write scripts to accomplish it, and/or set it up as a cron job. - jt