Settings LOCALE on Raspberry Pi3

2

1

I'm using raspberry for years and Linux for many more... Trying to installing Docker in my rpi I get an error, it is probably related to the LOCALE installation. The problem is this:

apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

I have already tried a lot of guides but the problem persists.

Any help?

Jacopo Nasi

Posted 2017-11-19T10:35:43.207

Reputation: 21

2

It seems that this guide have solved my problem!

– Jacopo Nasi – 2017-11-19T11:45:59.647

Answers

1

See the solution posted here:

https://unix.stackexchange.com/questions/269159/problem-of-cant-set-locale-make-sure-lc-and-lang-are-correct

short answer: Run dpkg-reconfigure locales as root, select the locales you want in the list (with your settings, you need en_GB and en_US.UTF-8 — I recommend selecting en_US and en_GB.UTF-8 as well) then press .

DougB

Posted 2017-11-19T10:35:43.207

Reputation: 11