Hi, On 2024-10-05 20:39, Holger Wansing wrote: > [ Adding locales people to the loop ] > > Hi, > > Bernhard <bernhard.woer...@posteo.de> wrote: > > I added the boot parameter "locale=de_DE.UTF-8". > > But, the installed system is in English. > > Attached, there are the installer-logs. > > I did some test installations, and I can confirm there is an issue with this: > > After a fresh testing|trixie install from yesterday's daily netinst image, > /etc/locale.conf and /etc/default/locale are effectively empty (they only > contain a comment "File generated by update-locale", but not more) and > the environment variable LANG is empty. > > > If I execute "dpkg-reconfigure locales" then, I get the dialog to choose > which locales to generate. The entry "de_DE.UTF8 UTF8" is already selected, > which is correct from above installation. When I then proceed without > any change (just select OK), I get the dialog to choose the system locale, > with the option to choose one of "None" or "C.UTF-8" or "de_DE.UTF-8". > I then choose "de_DE.UTF-8" and everything is fine after that: > > /etc/default/locale has "LANG=de_DE.UTF-8" > /etc/locale.conf has the same content. > > So, it seems that the locales package remains unconfigured during > installation, despite the installer log says: > > Setting up locales (2.40-2) ... > Generating locales (this might take a while) ... > Generation complete. > > > > There is already the open bugreport #1055353, but i don't know, if it's the > > same issue: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055353 > > That bug mentions, that /etc/default/locale was retired recently. > Is that correct? > Was /etc/locale.conf introduced to supersede /etc/default/locale ?
/etc/locale.conf is the systemd way to configure the locales, while /etc/default/locale is the original Debian way. Therefore newer versions of the locales package just make /etc/default/locale a symlink to /etc/locale.conf. See #1038798 for the details. > If that is the case: is it correct, that /etc/default/locale is still > processed by update-locale (as indicated by the comment included in that > file in latest test installation)? update-locale has been changed to only look at /etc/locale.conf. But it's normal that both files have the same content as one is just the symlink of the other. > BTW, there is already another bugreport which seems to go down to the same > issue: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058884 It might just be that localechooser has to be updated to use /etc/locale.conf directly. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://aurel32.net