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 1RaWqL-0006Mp-2C for garchives@archives.gentoo.org; Tue, 13 Dec 2011 18:12:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A40421C1CD; Tue, 13 Dec 2011 18:12:26 +0000 (UTC) Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 68DB421C1C0 for ; Tue, 13 Dec 2011 18:11:30 +0000 (UTC) Received: by eekd41 with SMTP id d41so1867027eek.40 for ; Tue, 13 Dec 2011 10:11:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=NDUfabthyBMnvjm8tF9cYZjTX8RqiTzeIIh6DmuBqGo=; b=S0Vnw23S/YU8f9RWaf0i6xK8ysd/LT5mIxyZvDoJNDGbwjSyFzPyA8FjmZd28HjnKt sbfni+ScIRb86E0JVJfQ022NmAnyWDRjkBPl7ADMG1c2V0J3B6YVg6w6vLBVNadLdm0T al7Ja06E3gHoGbKhZDqIPE3AH0jxNh1JUQA10= Received: by 10.14.9.227 with SMTP id 75mr4543682eet.206.1323799889575; Tue, 13 Dec 2011 10:11:29 -0800 (PST) Received: from [10.0.0.11] ([88.151.72.14]) by mx.google.com with ESMTPS id j20sm6340192eej.8.2011.12.13.10.11.27 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Dec 2011 10:11:28 -0800 (PST) Message-ID: <4EE794EA.3040107@gmail.com> Date: Tue, 13 Dec 2011 19:09:46 +0100 From: Jarry User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem References: <4EE771D9.8040206@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 828b95ff-d23e-4ea9-a70b-61f4a9087db1 X-Archives-Hash: 041920efb4aa92efa19c1063422b25a7 On 13-Dec-11 18:09, Pandu Poluan wrote: >> I just tried to update my system but emerging app-misc/ca-certificate >> failed with this error: >> ------------------- >> File "/usr/lib64/portage/pym/portage/__init__.py", line 178, in >> _unicode_encode >> s = 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: >> >> * This package installs one or more file names containing characters >> that >> * do not match your current locale settings. The current setting for >> * filesystem encoding is 'ANSI_X3.4-1968'. >> >> * For best results, UTF-8 encoding is recommended. See the Gentoo Linux >> * Localization Guide for instructions about how to configure your >> * locale for UTF-8 encoding: >> * >> * http://www.gentoo.org/doc/en/guide-localization.xml >> ------------------- >> >> I did not have any /etc/env.d/02locale file, so I created >> one with LANG="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... > > Have you tried locale-gen and env-update ? Bingo, this solved my problem! I did locale-gen but I forgot to run "env-update && source /etc/profile". I always thought log-off/log-in updates enviromnent too. It is actually true, but for user, not system-wide... Jarry -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.