How to fix locale in debian

Some times we have error like

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
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.

Solution

apt-get install locales
locale
locale -a
dpkg-reconfigure locales
locale-gen en_US.UTF-8 he_IL.UTF-8
howto/fix_locale_in_debian.txt · Last modified: 2014/06/10 18:11 by yehuda
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0