When you get errors with running commands on your Raspberry Pi like “warning: Setting locale failed.” you can fix this by updating the locale file in the OS. You can do this by typing:
pi@raspberrypi ~ $sudo nano /etc/default/locale
on your Raspberry Pi command line or in your Terminal window from your Mac when connected to the Raspberry Pi.
Next you have to change the following lines within the editor that just opened: Continue reading