command-not-found has crashed

时间:2014-05-07 19:52:22   收藏:0   阅读:266

打算用secureCRT上传一些文件的。结果上传失败了,提示command-not-found has crashed.

遂google一下,给出的解释是Ubuntu设置的语言为zh_CN.UTF-8,在输入某些未安装命令的时候会出问题

解决方法:sudo locale-gen zh_CN.UTF-8 

locale-gen可以生成需要的locale文件,上面那句命令可以使其支持UTF-8,此时会将 zh_CN.GBK UTF-8 写入/var/lib/locales/supported.d/local

支持中文后,则可以利用apt-get install lrzsz 安装rz sz了。

command-not-found has crashed,布布扣,bubuko.com

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!