Thanks for your interest in the case. I also am interested in helping
avoiding others getting as frightened as I was when my first release
upgrade went astray. I still think that my workaround does not mess up
with any stored configuration file: it just sends the fallback "C"
environment variable once, so the scripts work. On exit, my locales,
language-packs, etc. work as expected (i.e., Spanish).

Althugh I reckon the files must now be "correct", as the workaround
achieved a sucessful 13.04 installation, the required cats are:

administrador@pitblau-laptop:~$ cat /etc/default/locale
LANG="es_ES.utf8"
LANGUAGE="es_ES:es:en_GB:en"
LC_ALL="es_ES.utf8"

administrador@pitblau-laptop:~$  cat ~/.pam_environment
cat: /home/administrador/.pam_environment: No existe el archivo o el directorio

which means "file or folder does not exist"

administrador@pitblau-laptop:~$ cat ~/.profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
        . "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

Maybe you or somebody else expert on language-pack-xx, locale-archive,
locales, glibc, etc. can extract a "common denominator" of my problems
and those in the attached links... In the meantime,  if the "root cause"
is not found, maybe the installation scripts could, if unsuccessful,
grep for these various locale errors and rerun package configuration
under temporary LANG="C" (or advise the user to do that).

-- 
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