ubuntu 16 解决错误 manpath: can't set the locale; make sure $LC_* and $LANG are correct

阿里云上的服务器,运行的是ubuntu 16, 登录时报错 
manpath: can't set the locale; make sure $LC_* and $LANG are correct
安装zabbix时也看到大量因为这个not set导致的warning
于是尝试fix
解决办法是:
sudo apt-get -y install language-pack-zh-hans
locale
重新登录,看到不再报这样的错误