[Mac] Ubuntu系统提示command-not-found has crashed 解决方法

远程登录linux机器的时候遇到了下面的log

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

解决办法

按条输入以下命令即可:

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

你可能感兴趣的:([Mac] Ubuntu系统提示command-not-found has crashed 解决方法)