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

codice:
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

codice:
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