1 |
Mick wrote: |
2 |
> On Thursday 17 Jul 2014 22:41:45 Dale wrote: |
3 |
>> Howdy, different rig but similar issue. This is on my main rig now. It |
4 |
>> is AMD64 multilib. I am doing a emerge -e world, which I do from time |
5 |
>> to time. After that got to the point where it is almost done, I started |
6 |
>> getting this: |
7 |
>> |
8 |
>> perl: warning: Setting locale failed. |
9 |
>> perl: warning: Please check that your locale settings: |
10 |
>> LANGUAGE = (unset), |
11 |
>> LC_ALL = "en_US.UTF8", |
12 |
>> LANG = "en_US.UTF8" |
13 |
>> are supported and installed on your system. |
14 |
>> perl: warning: Falling back to the standard locale ("C"). |
15 |
>> sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8) |
16 |
>> |
17 |
>> and like this: |
18 |
>> |
19 |
>> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8) |
20 |
>> |
21 |
>>>>> Regenerating /etc/ld.so.cache... |
22 |
>> sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8) |
23 |
>> |
24 |
>> The error seems to vary depending on command run. This is my locale.gen |
25 |
>> file: |
26 |
>> |
27 |
>> LANG="en_US.UTF8" |
28 |
>> LC_CTYPE="en_US.UTF8" |
29 |
>> LC_NUMERIC="en_US.UTF8" |
30 |
>> LC_TIME="en_US.UTF8" |
31 |
>> LC_COLLATE="en_US.UTF8" |
32 |
>> LC_MONETARY="en_US.UTF8" |
33 |
>> LC_MESSAGES="en_US.UTF8" |
34 |
>> LC_PAPER="en_US.UTF8" |
35 |
>> LC_NAME="en_US.UTF8" |
36 |
>> LC_ADDRESS="en_US.UTF8" |
37 |
>> LC_TELEPHONE="en_US.UTF8" |
38 |
>> LC_MEASUREMENT="en_US.UTF8" |
39 |
>> |
40 |
>> I'm on sys-libs/glibc-2.17 right now. |
41 |
>> |
42 |
>> Now riddle me this, why is this popping up all of a sudden? Did |
43 |
>> something change and I missed it? When I google, I find folks with |
44 |
>> settings like mine and it works. Is this something new that just hasn't |
45 |
>> hit everyone yet? |
46 |
>> |
47 |
>> Confused. |
48 |
> /etc/locale.gen ought to show something like: |
49 |
> |
50 |
> en_US.UTF-8 UTF-8 |
51 |
> |
52 |
> rather than what you show in your message. /etc/env.d/02locale can show what |
53 |
> you have in your message above, but typically only this is necessary: |
54 |
> |
55 |
> LANG="en_US.UTF-8" |
56 |
> |
57 |
> (In mine I also have: LC_TIME="POSIX" and LC_COLLATE="C", but most users |
58 |
> wouldn't). |
59 |
> |
60 |
|
61 |
I got that off a howto somewhere. I think it is a Gentoo one. Anyway, |
62 |
commented all that out and left the one line, ran locale-gen and it |
63 |
seems to have fixed it. Keep in mind, it's been that way for quite a |
64 |
long time. No clue why it decides to moan about it now. |
65 |
|
66 |
Thanks. |
67 |
|
68 |
Dale |
69 |
|
70 |
:-) :-) |