elementary / installer

Installer front-end for Linux-based OSes
https://elementary.io
GNU General Public License v3.0
172 stars 43 forks source link

daily builds fail installing with "error setting keyboard layout" #741

Closed alex285 closed 5 months ago

alex285 commented 7 months ago

tested on elementaryos-8.0-daily.20231123 and elementaryos-8.0-daily.20231115

log: INFO: configuring keyboard layout
log: INFO: running DEBIAN_FRONTEND="noninteractive" HOME="/root" LC_ALL="en_US.UTF-8" PATH="/usr/sbin:/usr/bin:/sbin:/bin" "chroot" "/tmp/distinst.KccLvDD3OjnV" "localectl" "set-x11-keymap" "us" "" ""
log: WARN: Setting X11 and console keymaps is not supported in Debian.
log: ERROR: configuring chroot error: error setting keyboard layout: command failed with exit status: exit status: 1
log: ERROR: errored while installing system: error setting keyboard layout: command failed with exit status: exit status: 1
log: INFO: Install error: error setting keyboard layout: command failed with exit status: exit status: 1

edit: tried it on VBox

davidmhewitt commented 7 months ago

This is a problem with newer versions of localectl shipped with Ubuntu, and it's actually distinst that's interacting with localectl.

I'll move this issue to the installer repository as that's closer to distinst.

I've also opened a PR against distinst with a possible fix here: https://github.com/pop-os/distinst/pull/325