From owner-freebsd-stable@FreeBSD.ORG Thu May 22 23:57:04 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D8C137B401 for ; Thu, 22 May 2003 23:57:04 -0700 (PDT) Received: from mail.halplant.com (ip68-98-167-210.nv.nv.cox.net [68.98.167.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id C260F43F3F for ; Thu, 22 May 2003 23:57:03 -0700 (PDT) (envelope-from A.J.Caines@halplant.com) Received: by mail.halplant.com (Postfix, from userid 1001) id D4C9BB0; Fri, 23 May 2003 02:57:02 -0400 (EDT) Date: Fri, 23 May 2003 02:57:02 -0400 From: Andrew J Caines To: freebsd-stable@freebsd.org Message-ID: <20030523065702.GD383@hal9000.halplant.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <00af01c320e0$271fe270$426f2a40@boondocks> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00af01c320e0$271fe270$426f2a40@boondocks> Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.8-STABLE X-URL: http://halplant.com:88/ X-Yahoo-Profile: AJ_Z0 Importance: Normal User-Agent: Mutt/1.5.4i Subject: Re: issue with ports X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew J Caines List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 06:57:04 -0000 Jason, > my ports database seems to have become broken. You can always rebuild the ports and package databases if the need arises, though I doubt this is your problem, eg. # cd /usr/ports/ ; > INDEX ; > INDEX.db ; make index ; portsdb -Uu # > /var/db/pkg/pkgdb.db ; pkgdb -u > I can't do even a make clean in ports Don't bother. Start with a freshly cvsup'ed ports tree. After you next update and install new versions, run "portsclean" (with -CD or whatever suits you) and leave the rest to portupgrade. > ** Error occured reading /usr/local/etc/pkgtools.conf: > undefined method `+' for nil Did you copy pkgtools.conf.sample to pkgtools.conf? If so, what changes did you make to pkgtools.conf [diff them]? I use a script, update_stable[1], to update my sources and ports. It can be invoked with an argument just to update the ports (update_stable ports) and which takes care of all the databases and other stuff. This may be a useful reference even if you don't run it. I have another, for installing a newly built world and kernel. You can see my sup and config files for reference[3]. [1] http://halplant.com:88/software/FreeBSD/scripts/update_stable [2] http://halplant.com:88/software/FreeBSD/scripts/install_stable [3] http://halplant.com:88/server/config/ -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |