PDA

View Full Version : [debian] problema con locales


sgdfgsgfsgs
14-07-2005, 19:43
salve gente!
come da titolo ho questo problema :(

dpkg-reconfigure locales
mi da questo errore prima di avviare la grafica per la selezione dei locales


perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "it_IT@euro",
LC_ALL = "it_IT@euro",
LANG = "it_IT@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
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


poi, una volta selezionati i locales che voglio generare i quello di default mi da questo errore


Generating locales...
en_GB.ISO-8859-1...i18n:1: syntax error: not inside a locale definition section
i18n:2: syntax error: not inside a locale definition section
i18n:3: syntax error: not inside a locale definition section
i18n:4: syntax error: not inside a locale definition section
i18n:5: syntax error: not inside a locale definition section
/usr/sbin/locale-gen: line 41: 9410 Segmentation fault localedef -i $input -c -f $charset -A /etc/locale.alias $locale


chi mi aiuta?

grazie

PiloZ
14-07-2005, 19:52
apt-get remove --purge
apt-get clean
apt-get install locales
dpkg-reconfigure locales (it_IT@euro)
vim /etc/profile
aggiungi export LANG="it_IT@euro"
source /etc/profile
locales (verifica se sono it e soprattutto se hai errori come prima)


edit, in profile metti ANCHE:
export LC_ALL="it_IT@euro"

sgdfgsgfsgs
14-07-2005, 22:15
apt-get remove --purge
apt-get clean
apt-get install locales
dpkg-reconfigure locales (it_IT@euro)
vim /etc/profile
aggiungi export LANG="it_IT@euro"
source /etc/profile
locales (verifica se sono it e soprattutto se hai errori come prima)

grazie ora provo