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

Bug#322986: locales: locales installation should be done earlier



Package: locales
Version: 2.3.5-3
Severity: wishlist

I'm not sure which package this bug applies to. I noticed when
upgrading many packages at once (apt-get install a b c d...), one will
see many error messages, until finally we get here to installing
locales, with the same error message

Setting up locales (2.3.5-3) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_MESSAGES = "C",
        LC_COLLATE = "C",
        LC_CTYPE = "zh_TW.Big5",
        LANG = "zh_TW.Big5"
    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_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
  zh_TW.BIG5...^[OM done
Generation complete.

And from then on, the rest of the hundreds of packages I put on that
apt-get install line didn't produce such worrisome messages.

Therefore, somehow the locales stuff should be done earlier in the process...
-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 (charmap=BIG5)

Versions of packages locales depends on:
ii  debconf                       1.4.57     Debian configuration management sy
ii  libc6 [glibc-2.3.5-3]         2.3.5-3    GNU C Library: Shared libraries an

locales recommends no packages.

-- debconf information:
* locales/default_environment_locale: zh_TW
* locales/locales_to_be_generated: zh_TW BIG5



Reply to: