From owner-freebsd-ports@FreeBSD.ORG Sat Jan 4 23:26:24 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFE89DA5; Sat, 4 Jan 2014 23:26:24 +0000 (UTC) Received: from lamora.getmail.no (lamora.getmail.no [84.210.184.7]) by mx1.freebsd.org (Postfix) with ESMTP id 84ED21A49; Sat, 4 Jan 2014 23:26:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id ADF5D19198; Sun, 5 Jan 2014 00:19:20 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -2.87 X-Spam-Level: X-Spam-Status: No, score=-2.87 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_FAKE_REPLY_SURE_A=0.01, T_FAKE_REPLY_SURE_B=0.01, T_KHOP_THREADED=-0.01, T_UNKNOWN_ORIGIN=0.01, T_UPPERCASE_URI=0.01] autolearn=ham Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 03UwYHkDlpVZ; Sun, 5 Jan 2014 00:19:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 4EED819197; Sun, 5 Jan 2014 00:19:20 +0100 (CET) X-Virus-Scanned: amavisd-new at Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 0Yt3HOevnQrR; Sun, 5 Jan 2014 00:19:20 +0100 (CET) Received: from onyx.thanelange.no (cm-84.208.179.208.getinternet.no [84.208.179.208]) by lamora.getmail.no (Postfix) with ESMTP id 2E74C19196; Sun, 5 Jan 2014 00:19:20 +0100 (CET) Date: Sun, 5 Jan 2014 00:19:19 +0100 From: Gyrd Thane Lange To: Mathieu Arnold Subject: Re: how to install ruby18 Message-ID: <20140105001919.19bf7470@onyx.thanelange.no> In-Reply-To: <9F088A2B56BC5D46E2C5A3E5@atuin.in.mat.cc> References: <9F088A2B56BC5D46E2C5A3E5@atuin.in.mat.cc> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2014 23:26:24 -0000 On Sat, 04 Jan 2014 15:41:31 +0100 Mathieu Arnold wrote: > +--On 4 janvier 2014 15:21:07 +0100 Marco Beishuizen > 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 ^_^