When I boot pi it it throws the following warnings:
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
->bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
When I do
>locale 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 LANG=en_US LANGUAGE=en_US LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 I changed the contents of /etc/default/locale to the following
# File generated by update-locale LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 I tried to reconfigure locale using
sudo dpkg-reconfigure locales
But every time the menu opens, with no selection made. I have to select
en_US.UTF-8 UTF-8
every time.And selecting this throws the error
Generating locales (this might take a while)...
Generation complete.
*** update-locale: Error: invalid locale settings: LANG=en_GB.UTF-8 LANGUAGE="en_US.UTF-8" LC_ALL="en_US.UTF-8"
How do I remove these warnings?
raspi-configto setup International options?