Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 00:19:19 +0100
From:      Gyrd Thane Lange <gyrd-se@thanelange.no>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: how to install ruby18
Message-ID:  <20140105001919.19bf7470@onyx.thanelange.no>
In-Reply-To: <9F088A2B56BC5D46E2C5A3E5@atuin.in.mat.cc>
References:  <alpine.BSF.2.00.1401041517590.30757@localhost> <9F088A2B56BC5D46E2C5A3E5@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 04 Jan 2014 15:41:31 +0100
Mathieu Arnold <mat@FreeBSD.org> wrote:

> +--On 4 janvier 2014 15:21:07 +0100 Marco Beishuizen <mbeis@xs4all.nl>
> wrote:
> | Hi,
> | 
> | Since portupgrade doesn't work with the default ruby19 ("invalid
> | byte sequence" errors) I want to reinstall ruby18 instead. But
> | ruby18 has been removed from the ports, so how can I install
> | ruby18 again?
> 
> That error may come from a non us-ascii character in portupgrade's
> configuration files.

Hi!

I had a similar problem some time ago. Some intermediate combination of
pkg-tools/ruby/portupgrade installed bad metadata. The following
helped me identity the ports with bad files:

find /var/db/pkg -type f -exec iconv -t US-ASCII {} > /dev/null \;

Reinstalling the indicated ports solved it for me. I'm currently using
pkg-tools, ruby19 and portupgrade with no problems on FreeBSD 8.3.

Best regards,
Gyrd ^_^



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