The Network People Support Forums

Mail::Toaster => Installation Issues => Topic started by: atoyf on March 19, 2004, 03:35:41 PM

Title: /usr/local/sbin/pkgdb:35:in `require': No such file to load
Post by: atoyf on March 19, 2004, 03:35:41 PM
Help,i'm getting the subj when i try to run portsdb -Uu or pkgdb -F

Question
Title: Re: /usr/local/sbin/pkgdb:35:in `require': No such file to l
Post by: Nick Cockinos on March 19, 2004, 06:57:14 PM
atoyf

Help,i'm getting the subj when i try to run portsdb -Uu or pkgdb -F

Question


Courtesy of Rainer answering (and fixing) the same problem on one of my machines.

http://www.tnpi.biz/cgi-bin/ezmlm.cgi?mss:6860:200403:pkbpdcfhgleiiohhldmg

Quote:

ruby was upgraded from ruby16 to ruby18. As a result, more often than
not portupgrade breaks.


If you don't have anything else that requires ruby (portupgrade is
normally the only one),

you can pkg_delete -x portupgrade && pkg_delete -x ruby

and then reinstall portupgrade with make clean && make install clean

Then at least portupgrade should work again.


Rainer

Cheers

Nick
Title: Re: /usr/local/sbin/pkgdb:35:in `require': No such file to l
Post by: atoyf on March 19, 2004, 07:19:47 PM
ahh,cool!
Thanks!

nickcockinos

atoyf

Help,i'm getting the subj when i try to run portsdb -Uu or pkgdb -F

Question


Courtesy of Rainer answering (and fixing) the same problem on one of my machines.

http://www.tnpi.biz/cgi-bin/ezmlm.cgi?mss:6860:200403:pkbpdcfhgleiiohhldmg

Quote:

ruby was upgraded from ruby16 to ruby18. As a result, more often than
not portupgrade breaks.


If you don't have anything else that requires ruby (portupgrade is
normally the only one),

you can pkg_delete -x portupgrade && pkg_delete -x ruby

and then reinstall portupgrade with make clean && make install clean

Then at least portupgrade should work again.


Rainer

Cheers

Nick
Title: Re: /usr/local/sbin/pkgdb:35:in `require': No such file to l
Post by: bemis on March 28, 2004, 05:17:53 PM
atoyf

Help,i'm getting the subj when i try to run portsdb -Uu or pkgdb -F

Question


as an alternative to the above, the commit message that broke ruby has some steps to clean it "their way"
http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/ruby18/Makefile?rev=1.72&content-type=text/x-cvsweb-markup

bemis