I"m getting these pesky messages when I run certain commands (e.g.
apt-get) as root:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I am always mystified by this stuff. How can I fix those errors?
Thanks,
--
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTi=VV9-k0w8OeHbO15MnKPwZwUOkeQ@mail.gmail.com">http://lists.debian.org/BANLkTi=VV9-k0w8OeHbO15MnKPwZwUOkeQ@mail.gmail.com
06-27-2011, 03:23 AM
William Hopkins
LC_ALL & LANG settings
On 06/26/11 at 11:17pm, Eric d'Halibut wrote:
> I"m getting these pesky messages when I run certain commands (e.g.
> apt-get) as root:
>
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LANG = "en_US.utf8"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
>
> I am always mystified by this stuff. How can I fix those errors?
try dpkg-reconfigure locales
--
Liam
06-27-2011, 06:19 AM
"Eric d'Halibut"
LC_ALL & LANG settings
On 6/26/11, William Hopkins <we.hopkins@gmail.com> wrote:
> try dpkg-reconfigure locales
Thank you again. That command (above) clued me to the fact that the
packages 'locales' was not even installed. Who knew? <g>
--
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the epithet looney merely
because I have a pet halibut?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: BANLkTikcd-7_B0oMPH9UA-0bS0BW0PD9Qg@mail.gmail.com">http://lists.debian.org/BANLkTikcd-7_B0oMPH9UA-0bS0BW0PD9Qg@mail.gmail.com
07-17-2011, 01:40 PM
Pier Paolo
LC_ALL & LANG settings
2011/6/27 Eric d'Halibut <eric.halibut@gmail.com>
On 6/26/11, William Hopkins <we.hopkins@gmail.com> wrote:
> try dpkg-reconfigure locales
Thank you again. That command (above) clued me to the fact that the
packages 'locales' was not even installed. Who knew?
That's sounds reasonable; actually, i think some programs/container use some environment variables different than standard LANG, so eventually add to /etc/default/locale the following lines: