1 |
On Sun, May 29 2011, Nils Larsson wrote: |
2 |
|
3 |
> måndagen den 30 maj 2011 03:26:49 skrev Allan Gottlieb: |
4 |
>> What must I do to get "en_US_utf8" ? |
5 |
> |
6 |
> echo "LANG=en_US_utf8" > /etc/env.d/02locale |
7 |
> and |
8 |
> env-update |
9 |
> should work. |
10 |
|
11 |
Thanks. It just needed |
12 |
source /etc/profile |
13 |
|
14 |
at the end. The variables are now correct but there are still problems. |
15 |
|
16 |
1. locale complains |
17 |
|
18 |
oldlap ~ # locale |
19 |
locale: Cannot set LC_CTYPE to default locale: No such file or directory |
20 |
locale: Cannot set LC_MESSAGES to default locale: No such file or directory |
21 |
locale: Cannot set LC_ALL to default locale: No such file or directory |
22 |
LANG=en_US_utf8 |
23 |
LC_CTYPE="en_US_utf8" |
24 |
LC_NUMERIC="en_US_utf8" |
25 |
LC_TIME="en_US_utf8" |
26 |
LC_COLLATE="en_US_utf8" |
27 |
LC_MONETARY="en_US_utf8" |
28 |
LC_MESSAGES="en_US_utf8" |
29 |
LC_PAPER="en_US_utf8" |
30 |
LC_NAME="en_US_utf8" |
31 |
LC_ADDRESS="en_US_utf8" |
32 |
LC_TELEPHONE="en_US_utf8" |
33 |
LC_MEASUREMENT="en_US_utf8" |
34 |
LC_IDENTIFICATION="en_US_utf8" |
35 |
LC_ALL= |
36 |
oldlap ~ # |
37 |
|
38 |
2. ca-certificates complains during emerge |
39 |
|
40 |
2A. |
41 |
perl: warning: Setting locale failed. |
42 |
perl: warning: Please check that your locale settings: |
43 |
LANGUAGE = (unset), |
44 |
LC_ALL = (unset), |
45 |
LANG = "en_US_utf8" |
46 |
are supported and installed on your system. |
47 |
perl: warning: Falling back to the standard locale ("C"). |
48 |
>>> cfg-update-1.8.2-r1: Creating checksum index... |
49 |
|
50 |
that was expected from above |
51 |
|
52 |
2B. |
53 |
* This package installs one or more file names containing characters that |
54 |
* do not match your current locale settings. The current setting for |
55 |
* filesystem encoding is 'ANSI_X3.4-1968'. |
56 |
* |
57 |
* usr/share/ca-certificates/mozilla/AC_Ra\ufffd\ufffdz_Certic\ufffd\ufffdmara_S.A..crt |
58 |
|
59 |
plus other certificates. Perhaps fixing 2A would fix this as well?? |
60 |
|
61 |
2C. The following has unreadable characters |
62 |
Updating certificates in /etc/ssl/certs... W: /usr/share/ca-certificates/mozilla/AC_Ra��z_Certic��mara_S.A..crt not found, but listed in /etc/ca-certificates.conf. |
63 |
W: /usr/share/ca-certificates/mozilla/EBG_Elektronik_Sertifika_Hizmet_Sa��lay��c��s��.crt not found, but listed in /etc/ca-certificates.conf. |
64 |
W: /usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_F��tan��s��tv��ny.crt not found, but listed in /etc/ca-certificates.conf. |
65 |
W: /usr/share/ca-certificates/mozilla/T��B��TAK_UEKAE_K��k_Sertifika_Hizmet_Sa��lay��c��s��_-_S��r��m_3.crt not found, but listed in /etc/ca-certificates.conf. |
66 |
0 added, 0 removed; done. |
67 |
|
68 |
thanks again, |
69 |
allan |