Ubuntu Server 关于local settings的错误现象及解决办法

Ubuntu Server 关于local settings的错误现象及解决办法

现象:

运行apt-get命令更新或安装软件出现下列类似提示:

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_US.UTF-8"

supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

解决办法:

首先运行:sudo ap-get update

然后运行:apt-get install language-pack-en

相关推荐