Looks good. Also the other machine seems to have a perfectly fine
locale.

As regards corruption, I think it usually happens if you try to set a
locale name that has not been generated (i.e. is not included in locale-
archive). For instance, I don't have Spanish installed on my computer.

$ LANG="es_ES.UTF-8"
$ locale
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
LANG=es_ES.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC=sv_SE.UTF-8
LC_TIME=sv_SE.UTF-8
LC_COLLATE="es_ES.UTF-8"
LC_MONETARY=sv_SE.UTF-8
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=sv_SE.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_MEASUREMENT=sv_SE.UTF-8
LC_IDENTIFICATION=sv_SE.UTF-8
LC_ALL=

As you can see, my attempt to still set es_ES.UTF-8 resulted in error
messages when running the locale command. But as long as the locale
command does not output any errors, and LC_ALL is not set, you ought to
be fine.

Closing this bug now. Good luck with the next dist-upgrade. ;-) And if
you - contrary to expectation - would run into similar difficulties,
please file a new bug.

** Changed in: langpack-locales (Ubuntu)
       Status: Confirmed => Invalid

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to