3

I'm trying to install some packages like Zeroconf and TightVNC. Install seems to go fine but each time I get a notice like this in Terminal:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Is this something I need to worry about or can easily fix?

4

Commenting out SendEnv LANG LC_* in my mac's /etc/ssh_config fixed it!

4

With latest Raspbian release Jessie, you can set the LC_ALL to value C in ~/.bashrc file and everything else would set to what you choose and you wouldn't get any warning or error messages. Here's how -

Open your .bashrc file with nano editor -

sudo nano ~/.bashrc

Now add below line to the end of the file -

export LC_ALL=C

Save the file, reboot your Pi and everything should be fixed. Hope it helps.

  • was already fixed, but thanks for the tip anyway, could prove useful in the future. Out of curiosity: why do you wrap backticks around ~/.bashrc? It works fine without them. – thibmaek Dec 29 '15 at 0:01
  • Oops..! It was a typo mistake, i wanted to highlight it as a code block. Removed it. Thanks for letting me know. – Girish Sortur Dec 29 '15 at 10:00
  • Why the sudo? – youri Apr 7 '17 at 16:22
  • Just a precaution if you dont have admin access to the file. – Girish Sortur Apr 9 '17 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.