Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Aug 2002 20:52:53 +0100
From:      Kevin Golding <kevin@caomhin.demon.co.uk>
To:        Scott Gerhardt <scott@gerhardt-it.com>
Cc:        ports@FreeBSD.org, questions@freebsd.org
Subject:   Re: Ruby-optparst + portupgrade
Message-ID:  <BNT0QpBVIBW9EwsW@caomhin.demon.co.uk>
In-Reply-To: <B97D6C00.19FB%scott@gerhardt-it.com>
References:  <nMxtwlBdtAW9EwZs@caomhin.demon.co.uk> <B97D6C00.19FB%scott@gerhardt-it.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Someone, quite probably Scott Gerhardt, once wrote:
>On 8/12/02 1:24 PM, "Kevin Golding" <kevin@caomhin.demon.co.uk> wrote:
>
>> Someone, quite probably Scott Gerhardt, once wrote:
>>> My portupgrade et.al. Does not work with the following error:
>>> 
>>> /usr/local/sbin/portupgrade:34:in `require': No such file to load --
>>> optparse (LoadError)
>>>        from /usr/local/sbin/portupgrade:34
>> 
>>> I though reinstalling ruby-optparse would fix the problem but ruby-optparse
>>> does not seem to be in the ports tree anymore, what happened to it?
>> 
>> It got integrated into ruby-shim.
>> 
>> Probably best to just pkg_delete portupgrade and install a more recent
>> version that uses shim instead.
>
>
>
>
>Pkg_delete does not work (does not see portupgrade as installed).
>  
>So I did the following:
>1.) I did a make deinstall && make clean && make distclean.
>2.) Removed /usr/ports/sysutils/portupgrade.
>3.) Ran cvsup.
>4.) Did a make install of portupgrade (pkgtools-20020805.tar.bz2)
>
>
>I still get the same damn error:
>
>/usr/local/sbin/portupgrade:34:in `require': No such file to load --
>optparse (LoadError)
>        from /usr/local/sbin/portupgrade:34
>
>
>How do I eliminate the reference to optparse?
>
>Any other suggestions?

# cd /usr/ports/sysutils/portupgrade
# make deinstall ; make distclean
# pkg_add -r portupgrade

That should install a nice, shiny, brand spanking new binary that won't
have dependency issues.

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/41558

But looking at that, no promises.

Kevin
-- 
kevin@caomhin.demon.co.uk

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?BNT0QpBVIBW9EwsW>