From owner-freebsd-questions@FreeBSD.ORG Fri Jul 2 10:07:58 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 6316D16A4CF for ; Fri, 2 Jul 2004 10:07:58 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B1F543D39 for ; Fri, 2 Jul 2004 10:07:58 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i62A4Ico031101; Fri, 2 Jul 2004 03:04:19 -0700 From: Kent Stewart To: "Akinori MUSHA" Date: Fri, 2 Jul 2004 03:04:49 -0700 User-Agent: KMail/1.6.2 References: <015501c45fa7$9382b350$c10133ce@dilkie.com> <200407011346.41585.kstewart@owt.com> <86k6xnuif4.knu@iDaemons.org> In-Reply-To: <86k6xnuif4.knu@iDaemons.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407020304.49756.kstewart@owt.com> cc: Joey Mingrone cc: freebsd-questions@freebsd.org cc: Bruce Hunter Subject: Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass 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: Fri, 02 Jul 2004 10:07:58 -0000 On Thursday 01 July 2004 09:44 pm, Akinori MUSHA wrote: > Hi, > > I have just committed a fix against the "undefined method `each' for > nil:NilClass" error that occurs typically when BEFORE_DEINSTALL is > not defined in pkgtools.conf. Add "BEFORE_DEINSTALL = {}" to your > pkgtools.conf and pkg_deinstall will start working again. > > For the "undefined method `>' for #" error, I still > have no idea. Could you try again with a vanilla pkgtools.conf? It didn't change the package upgrade [Updating the pkgdb in /var/db/pkg ... - 326 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! devel/automake14 (automake-1.4.6_1) (undefined method `>' for #) ---> Packages processed: 2 done, 0 ignored, 0 skipped and 1 failed or ruby# portupgrade -Puf portupgrade ---> Checking for the latest package of 'sysutils/portupgrade' ** Listing the failed packages (*:skipped / !:failed) ! sysutils/portupgrade (portupgrade-20040701_1) (undefined method `>' for #) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html