[Bug 748261] Re: perl: warning: Setting locale failed
Armindo Silva
deathon2legs at gmail.com
Wed Sep 11 17:25:28 UTC 2013
It's still a bug because this is happens on every ubuntu (server and desktop) I used on the last couple of years and besides during installation (where I choose English as language, UTF8 for encoding, Portuguese as keyboard layout and Europe/Lisbon for the timezone.
So it is a problem with the ubuntu installer, not a problem caused by a misconfiguration made by the user.
# locale
locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=pt_PT.UTF-8
LC_TIME=pt_PT.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=pt_PT.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=pt_PT.UTF-8
LC_NAME=pt_PT.UTF-8
LC_ADDRESS=pt_PT.UTF-8
LC_TELEPHONE=pt_PT.UTF-8
LC_MEASUREMENT=pt_PT.UTF-8
LC_IDENTIFICATION=pt_PT.UTF-8
LC_ALL=
WORKAROUND:
$ sudo vim /etc/environment
_ at the end of the file add: LC_ALL="en_US.UTF-8"
_ or your favorite encoding
$ sudo reboot
** Changed in: apt (Ubuntu)
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/748261
Title:
perl: warning: Setting locale failed
Status in “apt” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: apt
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_MESSAGES = "en_US.UTF-8",
LANG = "ru_RU.UTF-8"
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_ALL to default locale: No such file or directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/748261/+subscriptions
More information about the foundations-bugs
mailing list