From owner-freebsd-questions Mon Aug 12 12:56:22 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AAC937B4C0; Mon, 12 Aug 2002 12:55:52 -0700 (PDT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 248C143EEF; Mon, 12 Aug 2002 12:53:36 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-35.mail.demon.net with esmtp (Exim 3.36 #2) id 17eLFK-0006Uj-0U; Mon, 12 Aug 2002 20:52:58 +0100 Message-ID: Date: Mon, 12 Aug 2002 20:52:53 +0100 To: Scott Gerhardt Cc: ports@FreeBSD.org, questions@freebsd.org From: Kevin Golding Subject: Re: Ruby-optparst + portupgrade References: In-Reply-To: MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Someone, quite probably Scott Gerhardt, once wrote: >On 8/12/02 1:24 PM, "Kevin Golding" 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-questions" in the body of the message