Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem
Date: Tue, 13 Dec 2011 16:21:29
Message-Id: 4EE77ACD.6050809@gmail.com
In Reply to: Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem by Michael Mol
1 On 13-Dec-11 16:56, Michael Mol wrote:
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 > Having set up three Gentoo installs in the last month, and I've seen
31 > this each time.
32 >
33 > It's blunt, but a mixture of "emerge -e --keep-going @world",
34 > "shutdown -r now" and "emerge --resume --keep-going" commands clears
35 > it up.
36
37 OMG, I have to recompile the whole world to fix it???
38 This is definitelly not "small" bug if it costs half day
39 of compilation time... :-(
40
41 Jarry
42 --
43 _______________________________________________________________
44 This mailbox accepts e-mails only from selected mailing-lists!
45 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] Failed to install app-misc/ca-certificate - locale problem Michael Mol <mikemol@×××××.com>