#1111214 installation-reports: after install there is no localization and only C.UTF-8 locale is set #1111214
- Package:
- installation-reports
- Source:
- installation-reports
- Submitter:
- mckaygerhard@yahoo.com
- Date:
- 2025-10-28 10:47:02 UTC
- Severity:
- normal
- Tags:
Boot method: DVD Image version: https://cdimage.debian.org/debian-cd/13.0.0-live/amd64/iso-hybrid/debian-live-13.0.0-amd64-lxde.iso https://cdimage.debian.org/debian-cd/13.0.0-live/amd64/iso-hybrid/debian-live-13.0.0-amd64-mate.iso Date: 15-aug-2025 Machine: Qemu 1 CPU, 4G on DELL optiplex 7070 MT (Debian 12); storage on RAW image Partitions: MBR all on one partition Filesystem Type 1K-blocks Used Available Use% Mounted on udev devtmpfs 937748 0 937748 0% /dev tmpfs tmpfs 202124 976 201148 1% /run /dev/vda1 ext4 13349164 10390476 2258784 83% / tmpfs tmpfs 1010612 0 1010612 0% /dev/shm tmpfs tmpfs 5120 8 5112 1% /run/lock tmpfs tmpfs 1024 0 1024 0% /run/credentials/systemd-journald.service tmpfs tmpfs 1010612 12 1010600 1% /tmp tmpfs tmpfs 1024 0 1024 0% /run/credentials/getty@tty1.service tmpfs tmpfs 202120 108 202012 1% /run/user/1000 Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Initial boot: [O] Detect network card: [O] Configure network: [O] Detect media: [O] Load installer modules: [O] Clock/timezone setup: [O] User/password setup: [O] Detect hard drives: [O] Partition hard drives: [O] Install base system: [O] Install tasks: [O] Install boot loader: [O] Overall install: [O] Comments/Problems: After installing in **speech synthesizer mode**, on first login, All the debian installation is only in English. Graphical installer also let me in same situation. Expert mode also let me in same situation I have marked the case as grave because for people who are blind or visually impaired it leaves them in an irreparable situation since they cannot find a way to put the system in an understandable language. (Mean must run several commands in terminal, due assistive tech only speech in english) ADITIONAL INFO During install i choose expert mode and setup localization: Language Spanish Localization America/Panama locales LANG=es_PA.UTF-8 After install this is the resulting env general@venenux:~$ su -l Password: root@venenux:~# env | grep LC root@venenux:~# env | grep LANG LANG=C.UTF-8 The Package locales version is 2.41-12
Hello, mckaygerhard@yahoo.com, le ven. 15 août 2025 16:06:00 +0000, a ecrit: Actually it's not related to speech synthesizer mode. I am getting the same behavior with any kind of installation started from the live image boot menu. The installation from inside the live image does set up the language fine. At any rate, it's not a debian-installer issue, so reassigning to the live-build package. Yes, with improper language it's hard to fix it. Samuel
Hello, unfortunately the 13.0.0 live image were broken and will result in a badly working installation. I've tried to install with the 13.1.0 GNOME installation. https://get.debian.org/images/release/current-live/amd64/iso-hybrid/debian-live-13.1.0-amd64-gnome.iso Starting: Installation with speech Language: 66 Spanish Location: 15 Panama Keyboard: default (as proposed) The text and speech during the installation are Spanish. However, after the installation the GNOME environment showed up in English. The Spanish keyboard layout was active. /etc/locale.conf contains: LANG="C.UTF-8" In /var/log/installer/syslog I see that localchooser correctly used es_PA.UTF-8 I'll take a deeper look. With kind regards, Roland Clobus
Hi, i've solved this bug by editing the 1020-create-locales-files.hook.chroot and comment the locale command : ``` $ cat config/hooks/normal/1020-create-locales-files.hook.chroot #echo "LANG=C.UTF-8" >/etc/default/locale touch /etc/environment ``` after this edit, the locale is correctly configured after installation kind regards, arnault perret
Hi, i saw that live-build is marked for autoremoval because of this localization bug. please consider to not remove live-build and use the hook edition solution to fix this bug > i've solved this bug by editing the > 1020-create-locales-files.hook.chroot and comment the locale command : > > ``` > $ cat config/hooks/normal/1020-create-locales-files.hook.chroot > #echo "LANG=C.UTF-8" >/etc/default/locale > touch /etc/environment > ``` > > after this edit, the locale is correctly configured after installation kind regards arnault perret
Hello, I'm sorry that this bug report takes so much time to get it fixed properly. I've been distracted by the Outreachy project, which has taken a lot of my development time. I'm not sure whether the fix should be made in hook 1020 as proposed. There are several things influencing the language in a live system and the result after installation: 1) Booting the live environment 2) Installing from the live environment using Calamares (in this scenario there are even 2 ways to influence the locale: first during the booting of the live environment and second within Calamares) 3) Installing using the Debian installer Ad 1: live-config enforces the locale and defaults to 'en_US.UTF-8' in /etc/default/locale The live squahfs image contains a symlink /etc/default/locale pointing to /etc/locale.conf with the content 'C.UTF-8' Ad 2: Untested by me at the moment Ad 3: The Debian installer asks the user about the locale and subsequently copies the content of the live squashfs image to the harddisk. I'm currently wondering whether a default value should be stored in the live squashfs image at all, because its value will be overwritten anyway. And secondly, whether the Debian installer should either skip copying the content or write the answers to the question at a later moment into the installed system. I'm downgrading this issue to 'important', making it a non-RC bug to avoid removal of the live-build package (which would a much larger effect). Don't worry, it is still on the TODO list. With kind regards, Roland Clobus