You are not logged in.

#1 2011-02-27 19:31:47

Edder
Member
Registered: 2010-10-10
Posts: 14

Locale warnings

Hello community,

today after updating I get these warnings when I try to start/stop deamons from (/etc/rc.d/), network for instance:

/etc/rc.d/functions: line 43: warning: setlocale: LC_CTYPE: cannot change locale (de_DE.UTF-8): No such file or directory
/etc/rc.d/functions: line 43: warning: setlocale: LC_NUMERIC: cannot change locale (de_DE.UTF-8): No such file or directory
/etc/rc.d/functions: line 43: warning: setlocale: LC_TIME: cannot change locale (de_DE.UTF-8): No such file or directory
/etc/rc.d/functions: line 43: warning: setlocale: LC_COLLATE: cannot change locale (de_DE.UTF-8): No such file or directory
/etc/rc.d/functions: line 43: warning: setlocale: LC_MESSAGES: cannot change locale (de_DE.UTF-8): No such file or directory

How to fix them?
When I use another locale -> en_US it works just fine.

Offline

#2 2011-02-27 19:39:13

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: Locale warnings

Did you change your rc.conf and /etc/inittab? The output from pacman gave a warning about the changes. It added two new files, /etc/rc.conf.pacnew and /etc/inittab.pacnew. You need to edit both files accordingly and rename the 2 files (and the old ones).

Last edited by stlarch (2011-02-27 19:47:06)

Offline

#3 2011-02-27 19:58:47

Edder
Member
Registered: 2010-10-10
Posts: 14

Re: Locale warnings

There is a rc.conf.pacnew but no second inittab?!
So I just need to rm rc.conf, rename rc.conf.pacnew to rc.conf and make my changes there I did in the old conf file?

Offline

#4 2011-02-27 20:21:33

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: Locale warnings

Backup your old rc.conf first then merge the pacnew with rc.conf.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2011-02-27 20:23:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Locale warnings

Edder wrote:

There is a rc.conf.pacnew but no second inittab?!
So I just need to rm rc.conf, rename rc.conf.pacnew to rc.conf and make my changes there I did in the old conf file?

https://wiki.archlinux.org/index.php/Pa … save_Files

Offline

#6 2011-02-28 07:07:23

Edder
Member
Registered: 2010-10-10
Posts: 14

Re: Locale warnings

Ok, I did this, I used the pacnew rc.conf as normal rc.conf, but warnings still appear and they seem to appear on at every local beside en_US.UTF-8

edit: Ok I got it, I forget generating the de_DE locale sad
But this wasnt my fault, it worked for about a week without this warning and using de locale, without generating it, sry guys.

Last edited by Edder (2011-02-28 07:18:45)

Offline

#7 2011-02-28 07:38:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Locale warnings

Arch should generate locale automatically when you update glibc - it always worked like that on my systems.

Offline

Board footer

Powered by FluxBB