1 |
On Tue, Dec 13, 2011 at 10:40 AM, Jarry <mr.jarry@×××××.com> wrote: |
2 |
> Hi, |
3 |
> I just tried to update my system but emerging app-misc/ca-certificate |
4 |
> failed with this error: |
5 |
> ------------------- |
6 |
> File "/usr/lib64/portage/pym/portage/__init__.py", line 178, in |
7 |
> _unicode_encode |
8 |
> s = s.encode(encoding, errors) |
9 |
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u011f' in |
10 |
> position 68: ordinal not in range(128) |
11 |
> |
12 |
>>>> Failed to install app-misc/ca-certificates-20111025, Log file: |
13 |
> |
14 |
> * This package installs one or more file names containing characters that |
15 |
> * do not match your current locale settings. The current setting for |
16 |
> * filesystem encoding is 'ANSI_X3.4-1968'. |
17 |
> |
18 |
> * For best results, UTF-8 encoding is recommended. See the Gentoo Linux |
19 |
> * Localization Guide for instructions about how to configure your |
20 |
> * locale for UTF-8 encoding: |
21 |
> * |
22 |
> * http://www.gentoo.org/doc/en/guide-localization.xml |
23 |
> ------------------- |
24 |
> |
25 |
> I did not have any /etc/env.d/02locale file, so I created |
26 |
> one with LANG="en_GB.UTF-8" in it, but I still get the same |
27 |
> error. I tried en_US.UTF-8 or en_EN.UTF-8 with the same |
28 |
> results. I really do not understand what ca-certificates |
29 |
> needs to get it installed... |
30 |
> |
31 |
> Jarry |
32 |
> -- |
33 |
> _______________________________________________________________ |
34 |
> This mailbox accepts e-mails only from selected mailing-lists! |
35 |
> Everything else is considered to be spam and therefore deleted. |
36 |
> |
37 |
|
38 |
Having set up three Gentoo installs in the last month, and I've seen |
39 |
this each time. |
40 |
|
41 |
It's blunt, but a mixture of "emerge -e --keep-going @world", |
42 |
"shutdown -r now" and "emerge --resume --keep-going" commands clears |
43 |
it up. |
44 |
|
45 |
|
46 |
-- |
47 |
:wq |