Ubuntu突然报错更改不了本地语言:
sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
也不这个错误是怎么出来的,最终解决办法如下:
以root身份执行:
apt install locale-gen
locale-gen en_US
update-locale LANG=en_US
localedef -i en_US -f UTF-8 en_US.UTF-8