Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2001 00:55:26 +0900
From:      "Akinori MUSHA" <knu@iDaemons.org>
To:        Larry Rosenman <ler@airmail.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade refuses to run...
Message-ID:  <86snek1441.wl@archon.local.idaemons.org>
In-Reply-To: <20010822095557.A29201@ler-freebie.iadfw.net>
References:  <20010822095557.A29201@ler-freebie.iadfw.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At Wed, 22 Aug 2001 09:55:57 -0500,
Larry Rosenman wrote:
> I installed portupgrade this am, and it refuses to run:
> 
> ler-freebie# portupgrade -a
> /usr/local/sbin/portupgrade:163:in `main': undefined method
> `def_option' for #<OptionParser:0x80e796c> (NameError)
>         from /usr/local/sbin/portupgrade:162:in `initialize'
>         from /usr/local/sbin/portupgrade:162:in `new'
>         from /usr/local/sbin/portupgrade:162:in `main'
>         from /usr/local/sbin/portupgrade:1165
> ler-freebie# 
> 
> 
> I even upgraded to the latest ports/lang/ruby, and nothing doing. 

Probably you still have an old version of ruby-optparse installed.

After a due period (~3 month or so), I changed portupgrade to use the
new version's usage.  Please install the latest version of
ruby-optparse from your freshly cvsup'ed ports tree as follows:

	cd /usr/ports/devel/ruby-optparse
	make clean all
	make install clean -DFORCE_PKG_REGISTER

Then run pkgdepfix to fix up dependencies:

	pkgdepfix -o

	(delete the older ruby-optparse's record with it)

Finally, make sure you have the latest version of portupgrade:

	portupgrade portupgrade


Regards,

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

"Freeze this moment a little bit longer, make each impression
  a little bit stronger..  Experience slips away -- Time stand still"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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