[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: locale problems



On 03/14/2015 06:55 PM, David Wright wrote:
Quoting Frank (debianlist@videotron.ca):
On 03/14/2015 04:03 PM, Bob Proulx wrote:
Frank wrote:
The past few days I've been getting mail from anacron
about errors like this:

/etc/cron.daily/man-db:
/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct

Somewhere along the way you have set the default system locale to one
that doesn't exist.  What is the value stored here:

   cat /etc/default/locale

Is that a valid locale on your system?


frank@frank-debian:~$ cat /etc/default/locale
LC_ALL=en_US.UTF-8
LANGUAGE=en_US.UTF-8

Is this what should be in /etc/default/locale ??

Not at all.
Here's a US wheezy:

$ cat /etc/default/locale
#  File generated by update-locale
LANG="en_US.UTF-8"
$


That's what is now in my /etc/default/locale




$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
$



Mine


root@frank-debian:/home/frank# locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

So it appears everything is well with the world....well with
Debian Sid anyway.



Thanks for your help as well.

Frank


Reply to: