解决 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
本文介绍了解决登录时出现manpath:can'tsetthelocale;makesure$LC_*and$LANGarecorrect错误的方法。通过使用locale-gen和dpkg-reconfigure命令进行配置,并修改/etc/default/locale文件来设置正确的语言环境。
606

被折叠的 条评论
为什么被折叠?



