Problem
Rarely, the Fedora 42 Workstation installer may crash during installation with an error IndexError: list index out of range
. In automated testing, this happens to about 1-2% of installs. The problem may be more likely to happen if you choose a non-default keyboard layout during the install process.
Cause
This is a race condition between Anaconda, operating on a list of configured keyboard layouts, and localed, which might update it during the very same moment.
Related Issues
Bugzilla report: #2357836
Workarounds
If you are unlucky enough to hit this crash, you’ll just have to rerun the install (you might want to reboot first just to ensure things are clean). You’d have to be really, really unlucky for it to happen twice in a row.