Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem
Date: Tue, 13 Dec 2011 15:43:44
Message-Id: 4EE771D9.8040206@gmail.com
1 Hi,
2 I just tried to update my system but emerging app-misc/ca-certificate
3 failed with this error:
4 -------------------
5 File "/usr/lib64/portage/pym/portage/__init__.py", line 178, in
6 _unicode_encode
7 s = s.encode(encoding, errors)
8 UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in
9 position 68: ordinal not in range(128)
10
11 >>> Failed to install app-misc/ca-certificates-20111025, Log file:
12
13 * This package installs one or more file names containing characters that
14 * do not match your current locale settings. The current setting for
15 * filesystem encoding is 'ANSI_X3.4-1968'.
16
17 * For best results, UTF-8 encoding is recommended. See the Gentoo Linux
18 * Localization Guide for instructions about how to configure your
19 * locale for UTF-8 encoding:
20 *
21 * http://www.gentoo.org/doc/en/guide-localization.xml
22 -------------------
23
24 I did not have any /etc/env.d/02locale file, so I created
25 one with LANG="en_GB.UTF-8" in it, but I still get the same
26 error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same
27 results. I really do not understand what ca-certificates
28 needs to get it installed...
29
30 Jarry
31 --
32 _______________________________________________________________
33 This mailbox accepts e-mails only from selected mailing-lists!
34 Everything else is considered to be spam and therefore deleted.

Replies