Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2004 09:51:19 -0400
From:      "Ralph M. Los" <Ralph@boundariez.com>
To:        "Michael A. Alestock" <michaela@maa-net.net>, <questions@freebsd.org>
Subject:   RE: Portsdb error
Message-ID:  <B06CC0370BBC0F4EA588FD6952A9392502296B@tenacious.boundariez.com>

next in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Michael A. Alestock [mailto:michaela@maa-net.net]=20
Sent: Sunday, April 11, 2004 7:34 AM
To: questions@freebsd.org
Subject: Portsdb error


Hello,

I=A0use the PORTSDB (-Uu) command=A0as part of=A0upgrading my ports =
collection.=A0 However, while trying to run this command today I got the =
following error.....

bsd# portsdb -Uu
/usr/local/sbin/portsdb:35:in `require': No such file to load -- =
pkgtools (LoadError)
=A0=A0=A0=A0=A0=A0=A0 from /usr/local/sbin/portsdb:35
bsd#

I've NEVER had this kind of error before with Portsdb.=A0 I even =
doublechecked to make sure the binary was installed....

bsd# whereis portsdb
portsdb: /usr/local/sbin/portsdb /usr/local/man/man1/portsdb.1.gz bsd#

Any clue to what's going on here??=A0

THANKS....


_______________________________________________
freebsd-questions@freebsd.org mailing list =
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to =
"freebsd-questions-unsubscribe@freebsd.org"


>From /usr/ports/UPDATING:

20040226:
  AFFECTS: i386 users of ruby and portupgrade

  Change the default version of ruby to 1.8 for i386.

  If you are a ruby developer and want to keep ruby 1.6 as default,
  please add RUBY_DEFAULT_VER=3D1.6 to /etc/make.conf.

  Otherwise, please run the following series of commands to migrate to
  ruby 1.8:

  1) Reinstall portupgrade manually (and as a result ruby 1.8 will be
     installed):
        pkg_delete portupgrade-\*
        (cd /usr/ports/sysutils/portupgrade; make install clean)

  2) Reinstall everything that depends on ruby 1.6 to use ruby 1.8
     instead:
        portupgrade -fr lang/ruby16

  3) Reinstall ruby 1.8 (because the previous step kills symlinks):
        portupgrade -f lang/ruby18

  4) Deinstall ruby 1.6 stuff (if you are paranoia):
        pkg_deinstall -ri lang/ruby16

  5) If the above commands do now work somehow and portupgrade starts
     causing LoadError, please reinstall portupgrade manually again.
     Whenever you get confused, you can always deinstall portupgrade
     and all the ruby stuff (run "pkg_delete -r ruby-\*") and
     reinstall portupgrade as a last resort.

...and yes, it worked like a charm just now for me.

Ralph



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