加载 /etc/profile 时发现错误:

加载 /etc/profile 时发现错误:

通过运行更新我的 Ubuntu 18.04 后...

sudo apt-get update &
sudo apt-get upgrade

...每次重启 Ubuntu 后我都会收到以下错误消息:

Error found when loading /etc/profile:  
/etc/profile.d/01-locale-fix.sh:/usr/bin/locale-check:no such file or directory  
locale: Cannot set LC_ALL to default locale no such file or directory  
locale: Cannot set LC_ALL to default locale no such file or directory  
As a result the session will not be configured correctly.  
You should fix the problem as soon as feasible.  

并开始后终端未打开。

相关内容