portupgrade portupgrade ...

leafy leafy at leafy.idv.tw
Sun Feb 29 22:37:47 PST 2004


On Sun, Feb 29, 2004 at 10:29:52PM -0800, Randy Bush wrote:
> this evening's -current and ports
> 
> so let's try libxine again
> 
> roam.psg.com:/usr/src# portupgrade multimedia/libxine
> -bash: /usr/local/sbin/portupgrade: /usr/local/bin/ruby: bad interpreter: No such file or directory
This is from freebsd.kde.org, which in turn is taken from the last
commit message for bsd.ruby.mk


[2004-02-26] Ruby 1.8 Upgrade and Portupgrade
It looks like the default ruby has finally been upgraded to 1.8 for 
FreeBSD on i386. More than one person has reported on #kde-freebsd that 
using portupgrade (which relies on ruby) to effect this upgrade on ruby 
has resulted in "strange things happening". So it loooks like it would 
be best to follow the maintainer's advice:

If you...want to keep ruby 1.6 as default, please add 
RUBY_DEFAULT_VER=1.6 to /etc/make.conf. Otherwise, please run the 
following series of commands to migrate to ruby 1.8:

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


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


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


Deinstall ruby 1.6 stuff (if you are paranoi[d])
pkg_deinstall -ri lang/ruby16 

-- 
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming


More information about the freebsd-ports mailing list