portupgrade fails on every port, undefined method 'each' for
nil:NilClass
Kent Stewart
kstewart at owt.com
Fri Jul 2 03:07:58 PDT 2004
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
More information about the freebsd-questions
mailing list