6
There seems to be an error with the local definitions of Perl and/or the system, but the details obtained do not clarify what is happening:
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 making use of the command adduser
:
# sudo adduser zuul
Question
How to evaluate and solve whatever this problem is with local definitions ?
x86_64
Ubuntu 12.04.4 LTS
Perl 5, version 14, Subversion 2 (v5.14.2)