加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Fixing "perl: warning: Setting locale failed.&#3

发布时间:2020-12-15 23:58:21 所属栏目:大数据 来源:网络整理
导读:文章来源:http://www.2cto.com/os/201303/198073.html 亲测可用! 错误提示: ? perl: warning: Setting locale failed.? perl: warning: Please check that your locale settings:? ?LANGUAGE = "en_US:en",? ?LC_ALL = (unset),51); font-family:宋体; fo
文章来源:http://www.2cto.com/os/201303/198073.html

亲测可用!

错误提示:
?
perl: warning: Setting locale failed.?
perl: warning: Please check that your locale settings:?
?LANGUAGE = "en_US:en",?
?LC_ALL = (unset),51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_PAPER = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_ADDRESS = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_MONETARY = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_NUMERIC = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_TELEPHONE = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_IDENTIFICATION = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_MEASUREMENT = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_TIME = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?LC_NAME = "en_US",51); font-family:宋体; font-size:14px; line-height:28px"> ?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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读