Can't install locales
This is the complete solution for my problem
- install locales
sudo vim /etc/apt/sources.list
-
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb http://apt.adafruit.com/raspbian/ wheezy main
change wheezy to jessie
run
sudo apt-get update && sudo apt-get install locales
revert back to wheezy (change jessie to wheezy )
sudo apt-get update
sudo dpkg-reconfigure locales
Now if i run
perl
i get the following warnings
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "fr_FR.UTF-8",
LC_ADDRESS = "fr_FR.UTF-8",
LC_MONETARY = "fr_FR.UTF-8",
LC_NUMERIC = "fr_FR.UTF-8",
LC_TELEPHONE = "fr_FR.UTF-8",
LC_IDENTIFICATION = "fr_FR.UTF-8",
LC_MEASUREMENT = "fr_FR.UTF-8",
LC_TIME = "fr_FR.UTF-8",
LC_NAME = "fr_FR.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
- Generating fr_FR.UTF-8 , and en_US.UTF-8
sudo nano /etc/locale.gen
uncomment those lines :
en_US.UTF-8
fr_FR.UTF-8
and finally running
sudo locale-gen