Your message dated Thu, 29 Jan 2026 19:56:10 +0100
with message-id <[email protected]>
and subject line Re: Bug#1117928: locales: transient fallback to C.UTF-8 causes 
locale warnings even when en_US.UTF-8 is generated
has caused the Debian Bug report #1117928,
regarding locales: transient fallback to C.UTF-8 causes  locale warnings even 
when en_US.UTF-8 is generated
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1117928: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117928
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
 
Package: locales
Version: 2.39-1
Severity: normal
Tags: upstream
 
3. SSH in or run some `apt upgrade` or `dpkg` ⇒ observe locale warnings about 
fallback to `C.UTF-8`.
 
**Expected Behavior:**
Once `en_US.UTF-8` is generated and configured, subsystems should uniformly use 
it, with no fallback warnings or temporary use of `C.UTF-8`.
 
**Actual Behavior:**
Early in the boot, glibc (or subsystems) temporarily fall back to `C.UTF-8`, 
causing warnings even though the correct locale is already configured.
 
When connecting to the host via SSH:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file 
or directory

**Impact:**
- Warnings on every fresh install using UTF-8.  
- Unnecessary confusion and noise.  
- Scripts or automation that expect no locale fallback break or misbehave.
 
**Suggested Fixes / Areas to Investigate:**
- Delay glibc fallback until locale data is available, suppress warnings when 
fallback is transient.  
- Pre-generate a minimal UTF-8 locale in base Debian images (e.g. 
`en_US.UTF-8`).  
- Adjust locale selection logic to prefer the configured locale over `C.UTF-8` 
fallback whenever safe.  
- In Debian’s `locales` or glibc packaging, integrate more early initialization 
to prevent fallback in benign cases.
 
**Related bug:** Debian BTS Bug #719590 (“C.UTF-8 locales should be regarded 
like C w.r.t. $LANGUAGE precedence”) :contentReference[oaicite:2]{index=2}  
 

--- End Message ---
--- Begin Message ---
Hi,

On 2025-12-29 19:23, Aurelien Jarno wrote:
> Hi,
> 
> On 2025-11-29 22:56, Aurelien Jarno wrote:
> > Hi,
> > 
> > On 2025-10-13 20:18, Aurelien Jarno wrote:
> > > Hi,
> > > 
> > > On 2025-10-12 17:37, Peter Banik wrote:
> > > > Package: locales
> > > > Version: 2.39-1
> > > > Severity: normal
> > > > Tags: upstream
> > > >  
> > > > 3. SSH in or run some `apt upgrade` or `dpkg` ⇒ observe locale warnings 
> > > > about fallback to `C.UTF-8`.
> > > 
> > > Could you please actually provide error message from you apt upgrade 
> > > commands?
> > >   
> > > > **Expected Behavior:**
> > > > Once `en_US.UTF-8` is generated and configured, subsystems should 
> > > > uniformly use it, with no fallback warnings or temporary use of 
> > > > `C.UTF-8`.
> > > 
> > > I am not able to reproduce this issue, the expected behavior is the one 
> > > I observe here.
> > >   
> > > > **Actual Behavior:**
> > > > Early in the boot, glibc (or subsystems) temporarily fall back to 
> > > > `C.UTF-8`, causing warnings even though the correct locale is already 
> > > > configured.
> > > 
> > > Could you also please provide the error message that you are seeing 
> > > during boot?
> > > 
> > > > When connecting to the host via SSH:
> > > > -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No 
> > > > such file or directory
> > > 
> > > This error message doesn't correspond what you describe. It seems that 
> > > LC_CTYPE (or LC_ALL) is set to UTF-8, not en_US.UTF-8. Are you sure your 
> > > ssh client is asking for the en_US.UTF-8 locale?
> > > 
> > 
> > Any news about that?
> > 
> Again, any news about that?

No answer from the bug submitter. Closing it.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                     http://aurel32.net

--- End Message ---

Reply via email to