Yes, I agree with you that locale-archive gets corrupted from time to time. 
In my two machines with multiple languages installed,
now and then, after upgrades and dist-upgrades, I notice locale errors in the 
terminal, or weird behaviour in apps (Kile, Nautilus) and then, I figure "let's 
remove the broken locale-archive" and things magically solve.

Now, locale gives:
LANG=es_ES.utf8
LANGUAGE=es_ES:es:en_GB:en
LC_CTYPE="es_ES.utf8"
LC_NUMERIC="es_ES.utf8"
LC_TIME="es_ES.utf8"
LC_COLLATE="es_ES.utf8"
LC_MONETARY="es_ES.utf8"
LC_MESSAGES="es_ES.utf8"
LC_PAPER="es_ES.utf8"
LC_NAME="es_ES.utf8"
LC_ADDRESS="es_ES.utf8"
LC_TELEPHONE="es_ES.utf8"
LC_MEASUREMENT="es_ES.utf8"
LC_IDENTIFICATION="es_ES.utf8"
LC_ALL=es_ES.utf8

I guess that locale's output appears now correct... Indeed, now the 13.10 
upgrade and apps work well.
However, that happened to me in previous upgrades and, well, the locale-archive 
file broke later in time.

 The issue is that I cannot pinpoint when or how locale gets corrupted.
I suspect it's something done in dist-upgrades or release-upgrades
because I never change language settings and I recall seeing such
behaviour after significant updates (but maybe I do not recall
accurately, sorry for the vagueness of the info). I attach the apt-
term.log which shows the many errors I got: things got bad at line
17812... but maybe because the locale was corrupted earlier on...

** Attachment added: "Log of terminal output when upgrading from 12.10 to 13.04 
with corrupt ES locale."
   
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/663694/+attachment/3650952/+files/apt-term.log.tar.bz2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/663694

Title:
  apt-get fails with LANG=es_ES.utf8, succeeds with LANG=C

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/663694/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to