报错现象
$ /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
$ /usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
解决方法
修改文件
/etc/default/locale
添加:
LC_CTYPE="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
重启