On Tue, Dec 13, 2011 at 12:09 PM, Pandu Poluan <pa...@poluan.info> wrote:
>
> On Dec 13, 2011 10:46 PM, "Jarry" <mr.ja...@gmail.com> wrote:
>>
>> Hi,
>> 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 ?

I did when I saw it, and it didn't clear the error.


-- 
:wq

Reply via email to