Comment 44 for bug 1356698

Revision history for this message
Danilo Cominotti Marques (dcominottim) wrote :

I have just seen this on Terminal when trying to run the first batch of updates for Freya stable (by the way, the Date/Time indicator has disappeared in this session, but I haven't noticed whether it happened before or after running the update):

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = "en",
 LC_ALL = (unset),
 LC_TIME = "en_US.UTF-8",
 LC_MONETARY = "en_US.UTF-8",
 LC_ADDRESS = "en_US.UTF-8",
 LC_TELEPHONE = "en_US.UTF-8",
 LC_NAME = "en_US.UTF-8",
 LC_MEASUREMENT = "en_US.UTF-8",
 LC_IDENTIFICATION = "en_US.UTF-8",
 LC_NUMERIC = "en_US.UTF-8",
 LC_PAPER = "en_US.UTF-8",
 LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 122677 files and directories currently installed.)

Running "locale -a", there appears "en_US.utf8" in the list of valid and available locations. Perhaps "en" being set as the value of the LANG and LANGUAGE variables is causing issues, since it probably doesn't resolve to "en_US.utf8"? Also, when I ran

update-locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_TIME=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_IDENTIFICATION=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_CTYPE=en_US.UTF-8

in my previous Freya Beta 2 installation, the Date/Time indicator stopped disappearing.