When running apt-get I receive error locale: Cannot set LC_CTYPE to default locale: No such file or directory. What can I do to fix this error?
I am connecting from a box running Mac OS X.
feedback
|
|
The resolution is simple if you're running Mac OS X while seeing this error through ssh: sudo nano /etc/ssh_config Comment out the following line: "SendEnv LANG LC_*" | |||
feedback
|
|
Run If you are connecting via SSH from a system, then you will want to make sure you have generated the locales used by the client systems that will be connecting. You can select as many to locales to generate as you want/need. As you mentioned in your answer, you can certainly choose to prevent SSH for either sending or accepting the LC* variables. From an ssh client disable this.
On the SSH server you can block accepting the variables by removing this.
| ||||
|
feedback
|