From owner-freebsd-questions Mon Aug 12 12:59:52 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 89A7337B400; Mon, 12 Aug 2002 12:59:45 -0700 (PDT) Received: from nebula.anchoragerescue.org (115-7-237-24-cable.anchorageak.net [24.237.7.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09B1F43E65; Mon, 12 Aug 2002 12:59:44 -0700 (PDT) (envelope-from akbeech@sinbad.net) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 00FD62DA; Mon, 12 Aug 2002 11:59:43 -0800 (AKDT) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul Reply-To: akbeech@sinbad.net Organization: Sinbad Network Communications Inc. To: Scott Gerhardt , Kevin Golding Subject: Re: Ruby-optparst + portupgrade Date: Mon, 12 Aug 2002 11:59:42 -0800 X-Mailer: KMail [version 1.3] Cc: , References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020812195943.00FD62DA@nebula.anchoragerescue.org> 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 On Monday 12 August 2002 11:43 am, Scott Gerhardt 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? I just ran pkdb -F and when it got to that dependency I just typed yes to move it to ruby-shim-ruby18. Built fine after that. Beech -- ------------------------------------------------------------------- Beech Rintoul - SysAdmin - akbeech@sinbad.net /"\ ASCII Ribbon Campaign | Sinbad Network Communications \ / - NO HTML/RTF in e-mail | 3101 Penland Parkway #K-38 X - NO Word docs in e-mail | Anchorage, AK 99508-1957 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message