Bug#219045: locales: Can't get rid of es_ES@euro locale
Package: locales
Version: 2.3.2.ds1-9
Severity: important
Tags: sid
It's kind of funny but I can't get rid of the Spains locale in my laptop
and I don't see where is it called in such insisting way.
No matter i dpkg-reconfigure locales setting the default locales to
ca_ES@euro, no matter I don't select any locale to be the default
falling to C. No matter I deselect all the locales to have only C, then
I get those errors telling that es_ES@euro is missing (I'd say
"messing") please configure your locales, falling back to C. No matter
that in /etc/environment a LANG=ca_ES@euro is in place.
debconf will let me select one and again locales different than
es_ES@euro, but the changes won't take any effect.
What's more funny, reportbug says just before getting to the screen I'm
now:
--------------------------------
Getting dependency information for locales...
*** The following debconf settings were detected:
* locales/default_environment_locale: ca_ES@euro
* locales/locales_to_be_generated: ca_ES@euro ISO-8859-15,
ca_ES.UTF-8@euro UTF-8, es_ES@euro ISO-8859-15, es_ES.UTF-8@euro UTF-8
Include these settings in your report [Y|n|?]?
--------------------------------
I type Y but then see below, es_ES@euro is again in control. What
happened to ca_ES@euro? No idea.
Any help will be appreciated. Maybe (surely) there is something wrong in
my configuration but I've read the manuals for "locale" and all the
related applications and instructions and I haven't found answers. I
report this as a bug because in any case debconf should be able to
overrid the locale information when executed.
I've also tried with debconf locale-conf, same unsuccessful results.
Until now the patch that worked was
locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro (ignored: LC_ALL set to
ca_ES@euro)
but today a Debian developer told me that that was no good practice at
all when submiting another bug, possibly caused by this LC_ALL setting.
So now everything apart of Gnome (which Catalan localization works) is
in Spanish again.
Here you have the xtrace, just in case. There you may see that typing
again locale-gen doesn't change anything:
tort:/home/qgil# strace -c dpkg-reconfigure locales
execve("/usr/sbin/dpkg-reconfigure", ["dpkg-reconfigure", "locales"],
[/* 26 vars */]) = 0
Generating locales...
ca_ES.ISO-8859-15@euro... done
ca_ES.UTF-8@euro... done
es_ES.UTF-8@euro... done
es_ES.ISO-8859-15@euro... done
ca_ES.ISO-8859-15@euro... done
Generation complete.
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
59.83 0.485983 636 764 write
19.39 0.157467 95 1660 4 read
6.16 0.050063 8344 6 waitpid
5.30 0.043053 88 491 319 open
3.70 0.030080 67 451 412 stat64
1.75 0.014220 20 724 poll
1.06 0.008634 375 23 writev
0.73 0.005956 993 6 fork
0.47 0.003822 6 657 88 ioctl
0.26 0.002076 2 858 gettimeofday
0.21 0.001738 13 136 old_mmap
0.19 0.001521 8 195 close
0.14 0.001114 7 157 brk
0.10 0.000845 28 30 shmdt
0.09 0.000752 25 30 shmget
0.09 0.000717 5 133 122 lstat64
0.08 0.000634 4 148 14 _llseek
0.07 0.000536 18 30 shmat
0.05 0.000436 145 3 2 connect
0.05 0.000401 12 34 munmap
0.04 0.000316 29 11 pipe
0.03 0.000279 8 37 33 access
0.03 0.000263 3 101 fstat64
0.02 0.000180 2 96 time
0.02 0.000169 42 4 rename
0.02 0.000162 41 4 mmap2
0.02 0.000129 43 3 socket
0.01 0.000103 103 1 readlink
0.01 0.000094 3 27 fcntl64
0.01 0.000092 12 8 readv
0.01 0.000082 2 33 rt_sigaction
0.01 0.000074 2 30 shmctl
0.01 0.000067 13 5 flock
0.01 0.000048 5 9 uname
0.00 0.000030 3 10 rt_sigprocmask
0.00 0.000022 22 1 chmod
0.00 0.000021 7 3 3 mkdir
0.00 0.000018 18 1 getcwd
0.00 0.000010 3 3 getuid32
0.00 0.000009 3 3 getpid
0.00 0.000008 4 2 2 kill
0.00 0.000008 8 1 _sysctl
0.00 0.000007 7 1 setsockopt
0.00 0.000004 2 2 geteuid32
0.00 0.000003 3 1 setrlimit
0.00 0.000003 3 1 getresuid32
0.00 0.000003 3 1 getresgid32
0.00 0.000002 2 1 getppid
0.00 0.000002 1 2 fsync
0.00 0.000002 1 2 select
0.00 0.000002 2 1 getrlimit
0.00 0.000002 2 1 getgid32
0.00 0.000002 2 1 getegid32
0.00 0.000001 1 1 shutdown
------ ----------- ----------- --------- --------- ----------------
100.00 0.812265 6944 999 total
tort:/home/qgil# locale
LANG=es_ES@euro
LC_CTYPE="es_ES@euro"
LC_NUMERIC="es_ES@euro"
LC_TIME="es_ES@euro"
LC_COLLATE="es_ES@euro"
LC_MONETARY="es_ES@euro"
LC_MESSAGES="es_ES@euro"
LC_PAPER="es_ES@euro"
LC_NAME="es_ES@euro"
LC_ADDRESS="es_ES@euro"
LC_TELEPHONE="es_ES@euro"
LC_MEASUREMENT="es_ES@euro"
LC_IDENTIFICATION="es_ES@euro"
LC_ALL=
tort:/home/qgil# locale-gen
Generating locales...
ca_ES.ISO-8859-15@euro... done
ca_ES.UTF-8@euro... done
es_ES.UTF-8@euro... done
es_ES.ISO-8859-15@euro... done
ca_ES.ISO-8859-15@euro... done
Generation complete.
tort:/home/qgil# locale
LANG=es_ES@euro
LC_CTYPE="es_ES@euro"
LC_NUMERIC="es_ES@euro"
LC_TIME="es_ES@euro"
LC_COLLATE="es_ES@euro"
LC_MONETARY="es_ES@euro"
LC_MESSAGES="es_ES@euro"
LC_PAPER="es_ES@euro"
LC_NAME="es_ES@euro"
LC_ADDRESS="es_ES@euro"
LC_TELEPHONE="es_ES@euro"
LC_MEASUREMENT="es_ES@euro"
LC_IDENTIFICATION="es_ES@euro"
LC_ALL=
((if you get reading until here thank you very much for your time and
patience))
;)
Quim
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tort 2.4.20 #1 Sun May 4 18:12:18 CEST 2003 i686
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro
Versions of packages locales depends on:
ii debconf 1.3.20 Debian configuration management sy
ii libc6 [glibc-2.3.2.ds1-9] 2.3.2.ds1-9 GNU C Library: Shared libraries an
-- debconf information:
* locales/default_environment_locale: ca_ES@euro
* locales/locales_to_be_generated: ca_ES@euro ISO-8859-15, ca_ES.UTF-8@euro UTF-8, es_ES@euro ISO-8859-15, es_ES.UTF-8@euro UTF-8
Reply to: