Hi,
On 2026-10-29 22:54, Aurelien Jarno wrote:
> Hi,
>
> On 2026-10-19 08:16, Ryan Cunningham wrote:
> > Package: libc6
> > X-Debbugs-Cc: prou…@gmail.com, debi…@lists.debian.org
> > Version: 2.44-3
> > Severity: important
> > Tags: d-i l10n
> >
> > Dear Maintainer,
> >
> > I encountered the following error message when attempting to run
> > 'dpkg-reconfigure locales' to change my computer's locale settings to Spanish:
> >
> > [sudo] password for ryan:
> > Generating locales (this might take a while)...
> > es_US.UTF-8... done
> > Generation complete.
>
> By default, dpkg-reconfigure locales does not provides the es_US.UTF-8
> locales as it is not a standard one. I guess you manually added it to
> /etc/locale.gen, which is fine. Could you please confirm that?
Ok, checking again, it appears that this locale is now a standard one,
sorry about the confusion.
> > *** update-locale: Error: invalid locale settings: LC_ALL=en_US.UTF-8 LANG=es_US.UTF-8
> > ----------
> > 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
> > ANSI_X3.4-1968
> > ----------
>
> The problem there is that the LC_ALL environment variable is somehow
> defined to en_US.UTF-8 on your system (note *en*, not *es*). With such a
> configuration you need to generate both en_US.UTF-8 and es_US.UTF-8
> locales.
>
> This variable is not written by the 'dpkg-reconfigure locales' scripts,
> which only touch the LANG environment variable, so it is not clear from
> where it comes from. You should maybe check in /etc/locale.conf or grep
> /etc, and remove it, unless you prefer to generate both locales.
This part is still valid. The problem is the configuration of the LC_ALL
variable, I am not sure from where it comes from, but not from the
locales packages.
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aure…@aurel32.net http://aurel32.net