Tim Cutts wrote:

On 6 Jun 2007, at 8:05 am, Rudy Gevaert wrote:

Hi,

Since I started installing etch I get this error (when something uses perl):

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"
    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 haven't got a thing in my fai config space saying a thing about locales.

I can let the messages go away by installing the locales packages and setting that locale as installed. But that doesn't solve my question. Where is it set that the locale must be "en_US.UTF-8" ?


Set the locale you want in the FAI debconf settings. For example, we don't set a default locale here, so /srv/fai/config/debconf/FAIBASE contains:

locales locales/default_environment_locale      select  None

If I do debconf-get-selections I already get:

  locales locales/default_environment_locale      select  None

(I haven't defined anything in my config, so it's the default)

--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          [EMAIL PROTECTED]          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to