直接执行sudo dpkg-reconfigure locales 会提示
dpkg-query: package 'locales' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
/usr/sbin/dpkg-reconfigure: locales is not installed
然后apt 安装locales包,再次执行就OK了。 作者:阳光气质男 https://www.bilibili.com/read/cv10530965 出处:bilibili