ubuntu:Sorry, command-not-found has crashed!

今天在阿里云的ubuntu主机上调用一个命令,由于没有该命令,本应该直接提示没有该命令,但是却出现如下报错:
$ setfacl
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.2.44



在 http://www.digimantra.com/open-source/ubuntu/command-not-found-crashed/找到的解决方法:
$ export LANGUAGE=en_US.UTF-8
$ export LANG=en_US.UTF-8
$ export LC_ALL=en_US.UTF-8
$ locale-gen en_US.UTF-8
$ sudo dpkg-reconfigure locales




你可能感兴趣的:(ubuntu:Sorry, command-not-found has crashed!)