portupgrade fails on every port, undefined method 'each' for nil:NilClass

Akinori MUSHA knu at iDaemons.org
Thu Jul 1 21:46:07 PDT 2004


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?

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"It seems to me as we make our own few circles 'round the sun
          We get it backwards and our seven years go by like one"


More information about the freebsd-questions mailing list