Bug#310550: locales: locale-gen fails: "cannot lock locale archive"
Package: locales
Version: 2.3.2.ds1-21
Severity: important
Hi,
for some reason I do not fully understand locale-gen fails on my system.
The only thing unusual in this respect is that /usr is mounted over NFS
(usually ro, but set to rw before calling locale-gen). no-root-squash
is set for the exported directory corresponding to /usr. Here is the
output.
# locale-gen
Generating locales...
de_DE.ISO-8859-1... done
de_DE.UTF-8@euro...cannot lock locale archive
"/usr/lib/locale/locale-archive": Permission denied
Best regards
Rolf Leggewie
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=de_DE@euro, LC_CTYPE=ja_JP.eucJP (charmap=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
ANSI_X3.4-1968)
Versions of packages locales depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii libc6 [glibc-2.3.2.ds1-21] 2.3.2.ds1-21 GNU C Library: Shared libraries an
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "C",
LC_ALL = (unset),
LC_MONETARY = "C",
LC_NUMERIC = "C",
LC_MESSAGES = "ja_JP.eucJP",
LC_COLLATE = "C",
LC_CTYPE = "ja_JP.eucJP",
LC_TIME = "C",
LANG = "de_DE@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
* locales/default_environment_locale: None
* locales/locales_to_be_generated: de_DE ISO-8859-1, de_DE.UTF-8@euro UTF-8, de_DE@euro ISO-8859-15, en_US.ISO-8859-15 ISO-8859-15, en_US.UTF-8 UTF-8, ja_JP.EUC-JP EUC-JP, ja_JP.UTF-8 UTF-8
Reply to: