Sometimes you get the following warning when running commands in Debian / Ubuntu powered computers
==============
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8″
are supported and installed on your system.
perl: warning: Falling back to the standard locale (”C”).
===============
To fix this run the following command as root
root@php-server:~# apt-get install language-pack-en-base








June 9th, 2010 at 4:10 pm
My Debian box is suffering from the locales warning so I tried # apt-get install language-pack-en-base as root. This is what I got;
debian:/home/clive# su
debian:/home/clive# apt-get install language-pack-en-base
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package language-pack-en-base
Do I need to download this package or do I have bigger problems than the locales warning?