Hi,

On 2020-05-13 19:06, José Antonio Jiménez Madrid wrote:
> Package: locales
> Version: 2.28-10
> Severity: minor
> Tags: l10n
> 
> Hi,
> 
> I upgraded yesterday to Buster and in the process of upgrading packages I got
> the following perl warning in several packages:
> 
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = (unset),
>         LC_ALL = (unset),
>         LANG = "es_ES.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> 
> 
> In some places I have found "a way to fix it", but this not works for me. I
> followed the steps.
> 
> export LANGUAGE=es_ES.UTF-8
> export LANG=es_ES.UTF-8
> export LC_ALL=es_ES.UTF-8
> locale-gen
> dpkg-reconfigure locales
> 
> 
> selecting the generation of all locales and to use es_ES.UTF-8 in the debconf
> window. But the problem persists.
> Also I have tried to change to another locales, like
> 
> en_US.UTF-8
> 
> but LANGUAGE and LC_ALL keep unset. Coming back to my original locale does not
> fix the problem.
> 
> I do not know whether this can be related with bugs:
> 
> #687522

That's a different issue that prevents using debconf to select the
locales to build. It seems you are able to to that, even if they do not
seem to be regenerated.

> #724456

That's a temporary problem only happening during the upgrade. Your
problem seems to be permanent.

> 
> I can make test, send log files,... to find what is causing this problem.

There are two things to look at. First we need understand if the locale
is correctly generated. Then we also need to understand if the
environment variables are correctly set.

Could you please send:

* The content of "/etc/default/locale"

* The output of the "locales" command

* The content of the "/usr/lib/locale/" directory.

As an alternative, does installing locales-all, which contains already
all locales already compiled does fix your problem?

Thanks,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                 http://www.aurel32.net

Reply via email to