after an update (i don’t remember which one it was), i constantly get the following messages:-bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
and on the console during boot:/etc/profile.d/lang.sh: line 30: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory
/etc/profile.d/lang.sh: line 30: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
/etc/profile.d/lang.sh: line 30: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
/etc/profile.d/lang.sh: line 30: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory
/etc/profile.d/lang.sh: line 30: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory
and errors in line 53 or 61 in /etc/profile.d/lang.sh
my investigations so far led to nowhere and i am lost here…
I do not think that there is a relation wiith the other problem. That is a special case with remote consoles, etc.
But what would be interesting is to know some basic things you forgot to tell and which most of us can not know without mind reading. What is the openSUSE version you use. And there is a mention of bash in the messages you show, but you do not tell where you get them. A terminal emulation? When yes, which one and why don’t you then copy/paste between CODE tags from that terminal window? When no, from the console? Didyou type a command there, or is this imeddialtly after login/starting the terminal?
In short, you should envisage that we are not in your home behind your chair to see what you are doing. Thus you have top explain everything.
On 2012-12-16 12:56, hemathor wrote:
>
> this may be related to http://tinyurl.com/c89z7dw
>
> after an update (i don’t remember which one it was), i constantly get
> the following messages:
> -bash: warning: setlocale: LC_MESSAGES:
> cannot change locale (en_US.UTF-8): No such file or directory
glibc update?
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
I am looking through /etc/profile.d/lang.sh. I am not down to understanding it completely now, but one thing i find strange. There is a loop:
for lc in LANG LC_CTYPE LC_NUMERIC LC_TIME \
LC_COLLATE LC_MONETARY LC_MESSAGES \
LC_PAPER LC_NAME LC_ADDRESS \
LC_TELEPHONE LC_MEASUREMENT \
LC_IDENTIFICATION LC_ALL
do
and if I am not to stupid it happens somewhere in that loop (lines 53 and 61 are inside the loop). Strange is that the sequence of values taken by variable lc in the loop is different from the sequence your error messages are.
and sets the respective variables in the environment according to the settings in /etc/sysconfig/language (see line 30 of the script):
eval ${line#RC_}
and that is exactly what i don’t understand: since when does a simple variable assignment cause an error message? even if the value of that variable is “”? strange…
the for loop just unsets empty variables (for normal users, see line 53), or sets LC_CTYPE=$LANG for root (line 61).
so, what do i not understand here? why seem simple variable assignments cause error messages? there must be some other issue that i don’t get…
On 2012-12-16 19:46, hemathor wrote:
>
> robin_listas;2511185 Wrote:
>>
>> glibc update?
>>
> now that you mention it: i think it’s very much possible! there was a
> patch of glibc that i installed…
I thought so.
> what does that tell you? or me? do you have any idea what causes these
> messages and how to get rid of them?
That it is a known bug. Revert the update.
More info: read the factory mail list.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
On 2012-12-17 00:26, hemathor wrote:
>
> robin_listas;2511313 Wrote:
>>
>> That it is a known bug. Revert the update.
>> More info: read the factory mail list.
>
> will do so…
>
> so it’s not only a bug in factory, but also in the update repo?
That I do not know. But if reverting the update solves your problem,
then they “backported the bug”. You should then report the issue in
Bugzilla.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))