【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
错误提示:
perl: warning: Setting locale failed.perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_PAPER = "en_US",
LC_ADDRESS = "en_US",
LC_MONETARY = "en_US",
LC_NUMERIC = "en_US",
LC_TELEPHONE = "en_US",
LC_IDENTIFICATION = "en_US",
LC_MEASUREMENT = "en_US",
LC_TIME = "en_US",
LC_NAME = "en_US",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
解决办法:
apt-get install language-pack-en-base
/usr/sbin/locale-gen en_US.UTF-8
/usr/sbin/update-locale
LANG
=en_US.UTF-8
最后:reboot
来源:oschina
链接:https://my.oschina.net/u/854933/blog/117492