Installing Ubuntu 23.04 Beta crashed when selected different language from Keyboard Layout Screen (unknown keyboard layout us,ara)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Fix Released
|
High
|
Olivier Gayot |
Bug Description
I downloaded the Desktop Image - 64-bit PC (AMD64) desktop image.
The size of the Desktop Image is 4.8 GB.
I checked SHA256SUMS - all good.
I used [Make Startup Disk] which is installed by default on my Ubuntu to create the LiveUSB.
My Testing machine is HP EliteDesk 800 G2 SFF. Core i5 vPro with 8GB RAM and 256GB SSD.
As always, I selected [Try Ubuntu]. The look and feel is quite amazing.
The machine I'm using to test is an old Desktop.
Because I want to keep Windows for games, I need to Dual-boot. That is why I ran GParted.
I had to delete one of the (4) partitions so I got rid of the [HP Tool] Drive.
I already cleared more than 70GB from the entire Disk (SSD) before I start the test. All what I needed to do is to resize and shrink.
I created an Extended Partition. Inside, I created (2) Partitions for Ubuntu 23.04 Beta. One is the main (/) and the other is SWAP. YES, this is my approach. I always use GParted to prepare the Disk before I start the installation whether I'm testing or not.
I really like how the Installer looks like. Really beautiful. Well done!
Without being connected to the Internet, I started the installation.
All went well until I reached to [Keyboard Layout] screen. I thought to change the language to test but I got an error message: [System program problem detected - do you want to report the problem now?]. Because I wasn't connected to the Internet, I didn't report.
As always, I selected Manual Installation. Remember, I need to Dual-Boot and I don't want any surprises, given it is the Beta version and not yet final.
When I selected the Partitions and was trying to go to the next step, I got the exact error message [System program problem detected] and I couldn't move forward. I had to stop.
The USB I used to test and install Ubuntu 23.04 Beta is in a good shape. I doubled check the SHA256SUMS. I'm not yet sure what the real problem is.
While this attempt has [Failed], I will try again. If the same issue occur, I will report the bug.
The MOST important step in OS testing is the Installation Step. What an OS without being installed on a machine?
Update:
I tried again on a different machine - the exact same problem.
Thank you.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: subiquity (unknown)
ProcVersionSign
Uname: Linux 6.2.0-18-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.480
Date: Mon Apr 3 03:20:47 2023
ExecutablePath: /snap/ubuntu-
InterpreterPath: /snap/ubuntu-
LiveMediaBuild: Ubuntu 23.04 "Lunar Lobster" - Beta amd64 (20230329)
MachineType: LENOVO 20079
ProcAttrCurrent: snap.hostname-
ProcCmdline: /snap/hostname-
ProcEnviron:
LANG=C.UTF-8
LD_LIBRARY_
PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=
Python3Details: /usr/bin/
PythonDetails: N/A
SnapChannel:
SnapRevision: 892
SnapUpdated: False
SnapVersion: 0+git.afb2b470
SourcePackage: subiquity
Title: request to /keyboard crashed with ValueError
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/28/2011
dmi.bios.release: 1.24
dmi.bios.vendor: LENOVO
dmi.bios.version: 40CN24WW(V2.10)
dmi.board.
dmi.board.name: Base Board Product Name
dmi.board.vendor: LENOVO
dmi.board.version: Base Board Version
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: IDEAPAD
dmi.product.name: 20079
dmi.product.sku: HuronRiver_CRB
dmi.product.
dmi.sys.vendor: LENOVO
summary: |
Installing Ubuntu 23.04 Beta crashed when selected different language - from Keyboard Layout Screen + from Keyboard Layout Screen (unknown keyboard layout us,ara) |
information type: | Private → Public Security |
information type: | Public Security → Public |
Changed in subiquity: | |
assignee: | nobody → Olivier Gayot (ogayot) |
status: | Confirmed → In Progress |
Changed in subiquity: | |
status: | In Progress → Fix Committed |
The following HTTP request used to succeed:
POST /keyboard
{"layout": "ara"}
but now fails with:
File "/home/ olivier/ dev/canonical/ subiquity/ subiquity/ models/ keyboard. py", line 90, in setting validate_ setting( value) olivier/ dev/canonical/ subiquity/ subiquity/ models/ keyboard. py", line 96, in validate_setting f'Unknown keyboard layout "{setting. layout} "')
self.
File "/home/
raise ValueError(
ValueError: Unknown keyboard layout "us,ara"
since the following commit https:/ /github. com/canonical/ subiquity/ commit/ 13cae2488ed6a04 b373e3cdc75593f 099b77104a
Next step is to determine if "layout": "ara" is correct in this context, or if it needs to be adjusted accordingly.