はじめに
こういうのとか
Can't set locale; make sure $LC_* and $LANG are correct!
こういうのが出たとき
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
対処
$ export LC_ALL=en_US.UTF-8
$ sudo locale-gen en_US.UTF-8
$ sudo update-locale LANG=en_US.UTF-8