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?

Steve Robillard
  • 34,687
  • 17
  • 103
  • 109
thibmaek
  • 289
  • 6
  • 19
  • I am assuming that you recently changed the locale for your Pi, if so this is not an issue, and will likely disappear after a reboot. – Steve Robillard Aug 09 '14 at 11:57
  • https://www.gnu.org/savannah-checkouts/gnu/libc/manual/html_node/Locale-Categories.html – j0h Aug 09 '14 at 13:27
  • @SteveRobillard I rebooted but still got the errors when installing apache – thibmaek Aug 09 '14 at 13:33
  • 1
    Did you set a default locale? Here are a few other links with solutions http://www.raspberrypi.org/forums/viewtopic.php?f=50&t=11870 http://hexample.com/2012/02/05/fixing-locale-problem-debian/ – Steve Robillard Aug 09 '14 at 13:37

2 Answers2

4

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

Chetan Bhargava
  • 1,262
  • 3
  • 15
  • 29
thibmaek
  • 289
  • 6
  • 19
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.

giri-sh
  • 777
  • 10
  • 18