/usr/local/sbin/pkgdb:35:in `require': No such file to load

Started by atoyf, March 19, 2004, 03:35:41 PM

Previous topic - Next topic

atoyf

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

Question
Kind regards, Anton

Nick Cockinos

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" target="_blank">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

atoyf

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" target="_blank">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
Kind regards, Anton

bemis

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" target="_blank">http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/ruby18/Makefile?rev=1.72&content-type=text/x-cvsweb-markup

bemis
Welcome to the internet, where the men are men, the women are men, and the small girls are FBI agents.