Esta é a solução completa para o meu problema
- 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
executar
sudo apt-get update && sudo apt-get install locales
reverter para wheezy (mudar de jessie para wheezy)
sudo apt-get update
sudo dpkg-reconfigure locales
Agora, se eu correr
perl
recebo os seguintes avisos
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
remova as linhas:
en_US.UTF-8
fr_FR.UTF-8
e finalmente rodando
sudo locale-gen
espero que ajude alguém com o mesmo problema:)