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 1RaUkE-00061j-Cr for garchives@archives.gentoo.org; Tue, 13 Dec 2011 15:58:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 337E321C156; Tue, 13 Dec 2011 15:58:03 +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 5302521C131 for ; Tue, 13 Dec 2011 15:56:51 +0000 (UTC) Received: by eaaj12 with SMTP id j12so247945eaa.40 for ; Tue, 13 Dec 2011 07:56:51 -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=HVDfd/OcTZmQodjFjQ4RxCOG41lsK06fTC4efZzhqFM=; b=JYaJlEpKgRgD4fr3Njyj1bSRAjiOHVVwuqiR5UY9x4m6u0mnBW/cPLn8t8s+JWF6L8 UOkVXI66Zd9tr7KRbyh2J5vVpCtTeSi5DThP7JYRP1fboweiIEL3rb+BliqTyEQNiNwL x96OEBtzsUkpDkDZLAGdVxQ7I/B3uhv9jYM38= 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.205.127.65 with SMTP id gz1mr13742320bkc.106.1323791810249; Tue, 13 Dec 2011 07:56:50 -0800 (PST) Received: by 10.204.226.72 with HTTP; Tue, 13 Dec 2011 07:56:50 -0800 (PST) In-Reply-To: <4EE771D9.8040206@gmail.com> References: <4EE771D9.8040206@gmail.com> Date: Tue, 13 Dec 2011 10:56:50 -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: c4771322-f10c-43a0-a897-34b8a354b0b0 X-Archives-Hash: 8f797b0f0bbde1cdebc8f93eb0fe07db On Tue, Dec 13, 2011 at 10:40 AM, Jarry wrote: > Hi, > 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 character= s that > =C2=A0* do not match your current locale settings. The current setting fo= r > =C2=A0* filesystem encoding is 'ANSI_X3.4-1968'. > > =C2=A0* For best results, UTF-8 encoding is recommended. See the Gentoo L= inux > =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-localizati= on.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... > > Jarry > -- > _______________________________________________________________ > This mailbox accepts e-mails only from selected mailing-lists! > Everything else is considered to be spam and therefore deleted. > 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. --=20 :wq