pop-os/distinst

Selecting Language: English + Location: None makes the installer crash

mdupont opened this issue · 1 comments

Distribution (run cat /etc/os-release): Pop!_OS 20.10

Related Application and/or Package Version (run apt policy $PACKAGE NAME): distinst

Issue/Bug Description:

Just received my new Galago Pro from System76, and started the installation process. I selected "English" as a language, then the next installer screen offered a list of english-speaking countries to select a local variant. I chose "None", which is one of the options.

When the installer started to install the system, it crashed at the step where distinst generates locales (from what I saw in the logs). It was trying to generate locale "en_", since I didn't select US, UK or al, and this locale is invalid.

To work around the issue, I had to quit the installer and go back to the Demo, then find out out to relaunch the installer from the start, then select another location than "None". The installation process went fine then.

Steps to reproduce (if you know):

  • Launch the installer
  • Select "English" as a language
  • Select "None" as a location
  • Continue the installation process
  • See it fail to install. It will report the failure and ask you if you want to retry (will fail again) or continue with the Demo system.

Expected behavior: The system should install regardless of the location choice made by the user.

Other Notes:
Could be fixed by either removing the "None" option and making the explanation text more precise in this screen, or making sure the installation script generates valid locale identifier in all cases.