After Kali execute apt-get upgrade can not open the terminal

First, the problem details

After installing Kali virtual machine, perform the apt-get upgradeupdate, the update is completed after rebootthe restart, found it impossible to open the terminal.

Second, the cause of the problem

Since the very beginning the installation kali is to select Chinese, after the upgrade, the system back to the English language, which in the end can not be opened because of garbled.

Third, the solution

We again set about language problems can be solved:

  1. Enter the command line interface:
    Alt + Ctrl + F6
  2. In turn enter:
apt-get install --reinstall locales
# 将语言集设置成英文
export LANGUAGE="en_US.UTF-8"
echo 'LANGUAGE="en_US.UTF-8"' >> /etc/default/locale
echo 'LC_ALL="en_US.UTF-8"' >> /etc/default/locale
  1. Restart:
reboot
  1. Reset the language:
    the language of the adjustment will be set to Chinese
Published 39 original articles · won praise 15 · views 2191

Guess you like

Origin blog.csdn.net/qq_43580193/article/details/104213643