Ubuntu 20.10 Live, debian-installer/language=de not working anymore

Bug #1906190 reported by beta-tester
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

hi,

i tried to PXE boot Ubuntu 20.10 Live from ubuntu-20.10-desktop-amd64.iso (2020-10-22 14:31)
but i have issues with setting the locale by using bootoptions.

using the following additional boot options to setup locale and keyboard layout:
debian-installer/language=de
console-setup/layoutcode=de
keyboard-configuration/layoutcode=de
keyboard-configuration/variant=German

here the full pxe boot entries:
KERNEL http://192.168.1.1/srv/nfs/ubuntu-x64/casper/vmlinuz
INITRD http://192.168.1.1/srv/nfs/ubuntu-x64/casper/initrd
APPEND nfsroot=192.168.1.1:/srv/nfs/ubuntu-x64 ro netboot=nfs ip=dhcp file=/cdrom/preseed/ubuntu.seed boot=casper -- debian-installer/language=de console-setup/layoutcode=de keyboard-configuration/layoutcode=de keyboard-configuration/variant=German

after sucessfull PXE boot into Ubuntu 20.10 Live, the locale is set to aa_DJ.UTF-8

LANG=aa_DJ.UTF-8
LANGUAGE=
LC_CTYPE="aa_DJ.UTF-8"
LC_NUMERIC="aa_DJ.UTF-8"
LC_TIME="aa_DJ.UTF-8"
LC_COLLATE="aa_DJ.UTF-8"
LC_MONETARY="aa_DJ.UTF-8"
LC_MESSAGES="aa_DJ.UTF-8"
LC_PAPER="aa_DJ.UTF-8"
LC_NAME="aa_DJ.UTF-8"
LC_ADDRESS="aa_DJ.UTF-8"
LC_TELEPHONE="aa_DJ.UTF-8"
LC_MEASUREMENT="aa_DJ.UTF-8"
LC_IDENTIFICATION="aa_DJ.UTF-8"
LC_ALL=

but the locale sould be set to de_DE.UTF-8 as expected (and as it was with ubuntu 20.04):

LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

it was not an issue with Ubuntu 20.04 Live

when i left out the boot options for locale settings at booting 20.10, the resulting locale is set to C.UTF-8

LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_PAPER="C.UTF-8"
LC_NAME="C.UTF-8"
LC_ADDRESS="C.UTF-8"
LC_TELEPHONE="C.UTF-8"
LC_MEASUREMENT="C.UTF-8"
LC_IDENTIFICATION="C.UTF-8"
LC_ALL=

here the PXE server project i used: https://github.com/beta-tester/RPi-PXE-Server

i think this is a bug.

when looking to the casper.log, i can see the folowing lines:

+ '[' -e /conf/param.conf ]
+ /scripts/casper-bottom/14locales
Begin: Setting up locales... ... grep: /root/usr/share/localechooser/languagelist: No such file or directory
Generating locales (this might take a while)...
  aa_DJ.UTF-8... done
Generation complete.
done.

looks like there is something missing.

Revision history for this message
beta-tester (alpha-beta-release) wrote :

thanks to comments from Gunnar Hjalmarsson
https://askubuntu.com/questions/1296105/ubuntu-20-10-live-locale-set-to-aa-dj-when-bootoption-tells-to-setup-with-loca

i got it working.

when using `debian-installer/locale=de_DE.UTF-8`
instead of `debian-installer/language=de`

the locale and language is set up as expected.

Revision history for this message
beta-tester (alpha-beta-release) wrote :

reading https://help.ubuntu.com/lts/installation-guide/amd64/ch05s03.html#preseed-args
the option `debian-installer/language=de` should work, but it doesn't with Ubuntu 20.10 Live.

Revision history for this message
beta-tester (alpha-beta-release) wrote :

i also tried the both options `debian-installer/language=de debian-installer/country=DE` without success.

summary: - Ubuntu 20.10 Live, locale set to aa_DJ, when bootoption tells to setup
- to locale de_DE
+ Ubuntu 20.10 Live, debian-installer/language=de not working anymore
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in casper (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.