I was updating my linux mint 18.3 to linux mint 19.
The error I get is
Cannot set LC_ALL to default locale: No such file or directory.
Then I Restarted my System, after that I can't open the terminal.
I used Ctrl+Alt+F3 to run command line and fixing the
LC_ALL error by using the command
sudo dpkg-reconfigure locales and
sudo aptitude install locales and it worked.
Then I tried to install terminal by using the command
apt install gnome-terminal but it gives the error
Setting up install-info (6.5.0.dfsg.1-2) ... /usr/sbin/update-info-dir: 5: /etc/environment: Syntax error: Unterminated quoted string dpkg: error processing package install-info (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: install-info E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried to resolve that using this https://askubuntu.com/a/920076/842467 but nothing happened.