解決 `manpath: can't set the locale; make sure $LC_* and $LANG are correct`

解決 manpath: can't set the locale; make sure $LC_* and $LANG are correct

問題

When login in, the shell prints:

manpath: can't set the locale; make sure $LC_* and $LANG are correct

解決

sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales
sudo vi /etc/default/locale 改爲如下

LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章