Skip to content

Instantly share code, notes, and snippets.

@tkhduracell

tkhduracell/fix.sh

Last active Nov 19, 2020
Embed
What would you like to do?
Fix locale on raspberry pi (raspbian) "Setting locale failed."
#
# How to get rid of the locale warning on raspberry pi
#
sudo sed -i "s/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" -i /etc/locale.gen
sudo locale-gen en_US.UTF-8
sudo update-locale en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
@kdambekalns

This comment has been minimized.

Copy link

@kdambekalns kdambekalns commented Aug 8, 2019

But what does subversion have to do with it? Clearly unrelated…

@tkhduracell

This comment has been minimized.

Copy link
Owner Author

@tkhduracell tkhduracell commented Aug 11, 2019

Haha, yes, obviously. Thanks for bringing it up :)

@ChienDesEnfers

This comment has been minimized.

Copy link

@ChienDesEnfers ChienDesEnfers commented Mar 23, 2020

Very helpful! Thank you very much for that simple solution!

@DonRichards

This comment has been minimized.

Copy link

@DonRichards DonRichards commented Apr 14, 2020

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.