Date: Mon, 1 Mar 2004 14:37:42 +0800 From: leafy <leafy@leafy.idv.tw> To: Randy Bush <randy@psg.com> Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade portupgrade ... Message-ID: <20040301063742.GA94592@chihiro.leafy.idv.tw> In-Reply-To: <20040301062953.6E28F43D2F@mx1.FreeBSD.org> References: <20040301062953.6E28F43D2F@mx1.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040301063742.GA94592>