Perl: warning: Setting locale failed in Debian and Ubuntu

Originally published at: https://www.cyberciti.biz/faq/perl-warning-setting-locale-failed-in-debian-ubuntu/

I am trying to install package and doing some other work. But, getting the error that read as “perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:” How do I fix this problem on my Debian Linux server?

Hey nixCraft,
thx again for very clear instructions.

… locale-gen command and [nixmd name=”dpkg-reconfigure”]:

I have the feeling that something slipped through your editing process. Am I right? :wink:

1 Like

Hehe… yes, I did. Thanks for the heads up!

1 Like