From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 17:37:14 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 2BEAC16A4CE for ; Wed, 18 Aug 2004 17:37:14 +0000 (GMT) Received: from mail-relay4.mirrorimage.net (mail-relay4.mirrorimage.net [209.58.140.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5AE043D49 for ; Wed, 18 Aug 2004 17:37:13 +0000 (GMT) (envelope-from FreeBSD@keyslapper.org) Received: from localhost (unknown [10.10.4.59]) by mail-relay4.mirrorimage.net (Postfix) with SMTP id 49F85692AF for ; Wed, 18 Aug 2004 13:37:13 -0400 (EDT) Received: by localhost (sSMTP sendmail emulation); Wed, 18 Aug 2004 13:39:12 -0400 Date: Wed, 18 Aug 2004 13:39:12 -0400 From: Louis LeBlanc To: freebsd-questions@freebsd.org Message-ID: <20040818173912.GA70638@keyslapper.org> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.6i Subject: Re: Removing the ports dir to start all over X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 17:37:14 -0000 On 08/18/04 10:22 AM, Joshua Lewis sat at the `puter and typed: > I ran a cvsup this morning and now when running a make index I get several > errors. I also am getting several errors when running a make search > key=mono |more > > I figured I would just clean out the ports dir and start over. However I > don't want to go though and remove everyfile and ever dirrectory from the > ports tree. And the man for rmdir only has a -p switch. Not sure what the question is, but I gather you're looking for the remove recursive? Be careful with this one: rm -rf Just don't use '*' for . If you inadvertently use that from the wrong place, you'll loose a lot more than you bargained for. Before you do that though, just go to the ports directory and type: make fetchindex which will go get an updated INDEX file. I also seem to remember there is a problem rebuilding the index when you have ports subdirectories in the refuse file. I had a similar problem in 5.2.1, but I don't remember ever rebuilding the index in 4.10. HTH Lou -- Louis LeBlanc FreeBSD@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Mencken and Nathan's Second Law of The Average American: All the postmasters in small towns read all the postcards.