Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 15:03:37 +0200
From:      Morsal Roudbay <morsal@swipnet.se>
To:        Akinori MUSHA <knu@iDaemons.org>
Cc:        "Jose M. Alcaide" <jose@we.lc.ehu.es>, freebsd-ports@FreeBSD.ORG
Subject:   Re: portupgrade broken
Message-ID:  <20010824150337.B72567@zigman.2y.net>
In-Reply-To: <86heuxfz5v.wl@archon.local.idaemons.org>
References:  <20010824102925.A72128@zigman.2y.net> <20010824103726.A72303@zigman.2y.net> <86k7ztg7a2.wl@archon.local.idaemons.org> <20010824111745.A72567@zigman.2y.net> <20010824120815.A330@v-ger.we.lc.ehu.es> <86heuxfz5v.wl@archon.local.idaemons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 24, 2001 at 08:57:48PM +0900, Akinori MUSHA wrote:
> At Fri, 24 Aug 2001 12:08:15 +0200,
> Jose M. Alcaide <jose@we.lc.ehu.es> wrote:
> > On Fri, Aug 24, 2001 at 11:17:45AM +0200, Morsal Roudbay wrote:
> > > On Fri, Aug 24, 2001 at 06:02:29PM +0900, Akinori MUSHA wrote:
> > > >=20
> > > > I think I had fixed that yesterday.  Try the latest version from
> > > > ports.  You can portupgrade the portupgrade in this case, but you c=
an
> > > > just pkg_delete & make install.
> > >=20
> > > U mean I can NOT portupgrade the portupgrade? :)
>=20
> Exactly.  I often make this typo: can <-> can't. :(
>=20
> > Of course you can. I suggest "portupgrade -R portupgrade".
>=20
> In this case, since that version of portupgrade included a typo,
> you have to do like this to work it around:
>=20
> 	env PORTSDIR=3D/usr/ports portupgrade -R portupgrade
>=20
> Or you will get the error as Morsal reported.

I'm sorry to say that I get the same error when I run that one... should I
do a pkg_delete and then a make install?

=3D=3D=3D[root] /home/mr # env PORTSDIR=3D/usr/ports portupgrade -R portupg=
rade
/usr/local/lib/ruby/site_ruby/1.6/portsdb.rb:15: uninitialized constant
PORTSDIR at PortsDB (NameError)
        from /usr/local/lib/ruby/site_ruby/1.6/ports.rb:3:in =12equire'
        from /usr/local/lib/ruby/site_ruby/1.6/ports.rb:3
        from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:14:in =12equire'
        from /usr/local/lib/ruby/site_ruby/1.6/pkgtools.rb:14
        from /usr/local/sbin/portupgrade:35:in =12equire'
        from /usr/local/sbin/portupgrade:35


Morsal

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?20010824150337.B72567>