[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#286281: locales are not generated



Package: locales
Version: 2.3.2.ds1-19
Severity: minor

I just finished to install Debian. I try to install some things and many
of this message :

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_FR",
	LC_ALL = "fr_FR",
	LC_MESSAGE = "fr_FR",
	LANG = "fr_FR@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

I try to see :

% grep ^fr /etc/locale.gen 
fr_FR@euro ISO-8859-15

% cat /etc/environment 
LANGUAGE="fr_FR:fr:en_GB:en"

LANG=fr_FR@euro

I try locale :

% locale
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
LANG=fr_FR@euro
LC_CTYPE="fr_FR"
LC_NUMERIC="fr_FR"
LC_TIME="fr_FR"
LC_COLLATE="fr_FR"
LC_MONETARY="fr_FR"
LC_MESSAGES="fr_FR"
LC_PAPER="fr_FR"
LC_NAME="fr_FR"
LC_ADDRESS="fr_FR"
LC_TELEPHONE="fr_FR"
LC_MEASUREMENT="fr_FR"
LC_IDENTIFICATION="fr_FR"
LC_ALL=fr_FR

Finally I try to reconfigure locales :

# dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_FR",
	LC_ALL = "fr_FR",
	LC_MESSAGE = "fr_FR",
	LANG = "fr_FR@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
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...
	fr_FR.ISO-8859-15@euro... done
	en_US.ISO-8859-1... done
	fr_FR.ISO-8859-1... done
	fr_FR.UTF-8@euro... done
Generation complete.

I retry locale :
% locale
LANG=fr_FR@euro
LC_CTYPE="fr_FR"
LC_NUMERIC="fr_FR"
LC_TIME="fr_FR"
LC_COLLATE="fr_FR"
LC_MONETARY="fr_FR"
LC_MESSAGES="fr_FR"
LC_PAPER="fr_FR"
LC_NAME="fr_FR"
LC_ADDRESS="fr_FR"
LC_TELEPHONE="fr_FR"
LC_MEASUREMENT="fr_FR"
LC_IDENTIFICATION="fr_FR"
LC_ALL=fr_FR

Now it seems good.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-k7
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-1) (ignored: LC_ALL set to fr_FR)

Versions of packages locales depends on:
ii  debconf                     1.4.41       Debian configuration management sy
ii  libc6 [glibc-2.3.2.ds1-19]  2.3.2.ds1-19 GNU C Library: Shared libraries an

-- debconf information:
* locales/default_environment_locale: fr_FR@euro
* locales/locales_to_be_generated: en_US ISO-8859-1, fr_FR ISO-8859-1, fr_FR.UTF-8@euro UTF-8, fr_FR@euro ISO-8859-15



Reply to: