Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2004 03:04:49 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        "Akinori MUSHA" <knu@iDaemons.org>
Cc:        Bruce Hunter <freebsd@solisix.com>
Subject:   Re: portupgrade fails on every port, undefined method 'each' for nil:NilClass
Message-ID:  <200407020304.49756.kstewart@owt.com>
In-Reply-To: <86k6xnuif4.knu@iDaemons.org>
References:  <015501c45fa7$9382b350$c10133ce@dilkie.com> <200407011346.41585.kstewart@owt.com> <86k6xnuif4.knu@iDaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 #<Array:0x8907500>" 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 <format:bdb1_btree> 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 #<Array:0x88d1f44>)
--->  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 #<Array:0x8987678>)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407020304.49756.kstewart>