There seems to be an error with the local settings of Perl and / or the system, but the details obtained do not clarify what is is passing:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "pt_PT.UTF-8",
LC_ADDRESS = "pt_PT.UTF-8",
LC_MONETARY = "pt_PT.UTF-8",
LC_NUMERIC = "pt_PT.UTF-8",
LC_TELEPHONE = "pt_PT.UTF-8",
LC_IDENTIFICATION = "pt_PT.UTF-8",
LC_MEASUREMENT = "pt_PT.UTF-8",
LC_TIME = "pt_PT.UTF-8",
LC_NAME = "pt_PT.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
This error is visible, for example, when you use the command adduser
:
# sudo adduser zuul
Question
How to evaluate and resolve any problem with local settings?
x86_64
Ubuntu 12.04.4 LTS
Perl 5, version 14, subversion 2 (v5.14.2)