From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RaVYW-0004z5-3q for garchives@archives.gentoo.org; Tue, 13 Dec 2011 16:50:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 427D521C044; Tue, 13 Dec 2011 16:50:04 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 7E67521C044 for ; Tue, 13 Dec 2011 16:48:59 +0000 (UTC) Received: by eaaj12 with SMTP id j12so314276eaa.40 for ; Tue, 13 Dec 2011 08:48:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6Gz1ISUlmA1Fp2zf+kIqQcZtIy1wCcFHkD7kd2evf/A=; b=QraEquXnAPmO20FrLtSFFdImLh33ovfnbuDLLCCURRrbZfElcFJgIyRWHopRcwaGIF 91eD/psuHa9r5p1iY2wfD2wMc8xd+rMyjH88rx2AUT626haTP9s0gzuzrNq3CiTvSnzl Sz5uqwSJRHRaHSNrik4LhEg7zu4/ETcqWaHrg= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.152.3 with SMTP id e3mr13853222bkw.70.1323794938713; Tue, 13 Dec 2011 08:48:58 -0800 (PST) Received: by 10.204.226.72 with HTTP; Tue, 13 Dec 2011 08:48:58 -0800 (PST) In-Reply-To: <4EE77ACD.6050809@gmail.com> References: <4EE771D9.8040206@gmail.com> <4EE77ACD.6050809@gmail.com> Date: Tue, 13 Dec 2011 11:48:58 -0500 Message-ID: Subject: Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d0907e9b-6f5a-41a5-9411-b713f75468af X-Archives-Hash: 1cf508a4311c85991c4adf4d01487447 On Tue, Dec 13, 2011 at 11:18 AM, Jarry wrote: > On 13-Dec-11 16:56, Michael Mol wrote: >>> >>> I just tried to update my system but emerging app-misc/ca-certificate >>> failed with this error: >>> ------------------- >>> =C2=A0File "/usr/lib64/portage/pym/portage/__init__.py", line 178, in >>> _unicode_encode >>> =C2=A0 =C2=A0s =3D s.encode(encoding, errors) >>> UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in >>> position 68: ordinal not in range(128) >>> >>>>>> Failed to install app-misc/ca-certificates-20111025, Log file: >>> >>> >>> =C2=A0* This package installs one or more file names containing charact= ers >>> that >>> =C2=A0* do not match your current locale settings. The current setting = for >>> =C2=A0* filesystem encoding is 'ANSI_X3.4-1968'. >>> >>> =C2=A0* For best results, UTF-8 encoding is recommended. See the Gentoo= Linux >>> =C2=A0* Localization Guide for instructions about how to configure your >>> =C2=A0* locale for UTF-8 encoding: >>> =C2=A0* >>> =C2=A0* =C2=A0 =C2=A0 =C2=A0http://www.gentoo.org/doc/en/guide-localiza= tion.xml >>> ------------------- >>> >>> I did not have any /etc/env.d/02locale file, so I created >>> one with LANG=3D"en_GB.UTF-8" in it, but I still get the same >>> error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same >>> results. I really do not understand what ca-certificates >>> needs to get it installed... >> >> >> Having set up three Gentoo installs in the last month, and I've seen >> this each time. >> >> It's blunt, but a mixture of "emerge -e --keep-going @world", >> "shutdown -r now" and "emerge --resume --keep-going" commands clears >> it up. > > > OMG, I have to recompile the whole world to fix it??? > This is definitelly not "small" bug if it costs half day > of compilation time... =C2=A0 =C2=A0:-( I've only *ever* seen it on fresh installs. An "emerge -e @world" to propagate CFLAGS is usually an early step; I like to do it before I install much more than 'screen' and 'vim'. Chances are, it's some smaller thing, like getting locale settings in place before emerging glibc or some fs tools, but I haven't tried tracking it down more deeply. --=20 :wq