<!--
If this is a bug, please use the template below. If this is a question o…r general discussion topic, please start a conversation in our chat https://chat.pop-os.org/ or post on our subreddit https://reddit.com/r/pop_os - as those are the proper forums for that type of discussion.
-->
**Distribution (run `cat /etc/os-release`):**
```
NAME="Pop!_OS"
VERSION="20.04"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.04"
VERSION_ID="20.04"
HOME_URL="https://system76.com/pop"
SUPPORT_URL="http://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
LOGO=distributor-logo-pop-os
```
The problem appears in both Intel/AMD and Nvidia ISO images:
`pop-os_20.04_amd64_intel_5.iso`
`pop-os_20.04_amd64_nvidia_5.iso`
**Related Application and/or Package Version (run `apt policy $PACKAGE NAME`):**
```
pop-installer:
Installed: 0.0.1\~1585858637\~20.04\~44b4b4f
Candidate: 0.0.1\~1585858637\~20.04\~44b4b4f
Version table:
*** 0.0.1\~1585858637\~20.04\~44b4b4f 1001
1001 http://ppa.launchpad.net/system76/pop/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
```
**Issue/Bug Description:**
The installation crashes after `apt purge` command in installation if Czech language is selected.
The last entries in `/tmp/installer.log` (there are no more lines in the file following this)
```
[INFO distinst:src/installer/steps/configure/chroot_conf.rs:57] removing packages: ["btrfs-progs", "casper", "cifs-utils", "distinst", "dmraid", "expect", "f2fs-tools", "fatresize", "gettext", "gparted", "gparted-common", "kpartx", "kpartx-boot", "libcroco3", "libdistinst", "libdmraid1.0.0.rc16", "libf2fs-format4", "libf2fs5", "liblzo2-2", "libnss-mymachines", "libtcl8.6", "localechooser-data", "os-prober", "pop-installer", "pop-installer-casper", "pop-shop-casper", "squashfs-tools", "systemd-container", "tcl-expect", "tcl8.6", "user-setup", "xfsprogs", "kernelstub"]
[INFO distinst:crates/chroot/src/command.rs:108] running "chroot" "/tmp/distinst.TFiumuT9RThm" "apt-get" "purge" "-y" "btrfs-progs" "casper" "cifs-utils" "distinst" "dmraid" "expect" "f2fs-tools" "fatresize" "gettext" "gparted" "gparted-common" "kpartx" "kpartx-boot" "libcroco3" "libdistinst" "libdmraid1.0.0.rc16" "libf2fs-format4" "libf2fs5" "liblzo2-2" "libnss-mymachines" "libtcl8.6" "localechooser-data" "os-prober" "pop-installer" "pop-installer-casper" "pop-shop-casper" "squashfs-tools" "systemd-container" "tcl-expect" "tcl8.6" "user-setup" "xfsprogs" "kernelstub"
[INFO distinst:crates/chroot/src/command.rs:98]
[INFO distinst:crates/chroot/src/command.rs:98]
[INFO distinst:crates/chroot/src/command.rs:98] Načítají se stavové informace…
[INFO distinst:crates/chroot/src/command.rs:98] Následující balíky byly nainstalovány automaticky a již nejsou potřeba:
[INFO distinst:crates/chroot/src/command.rs:98] efibootmgr python3-debian
[INFO distinst:crates/chroot/src/command.rs:98] Pro jejich odstranění použijte „apt autoremove“.
[INFO distinst:crates/chroot/src/command.rs:98] Následující balíky budou ODSTRANĚNY:
[INFO distinst:crates/chroot/src/command.rs:98] btrfs-progs* casper* cifs-utils* distinst* dmraid* expect* f2fs-tools*
[INFO distinst:crates/chroot/src/command.rs:98] fatresize* gettext* gparted* gparted-common* kernelstub* kpartx*
[INFO distinst:crates/chroot/src/command.rs:98] kpartx-boot* libcroco3* libdistinst* libdmraid1.0.0.rc16* libf2fs-format4*
[INFO distinst:crates/chroot/src/command.rs:98] libf2fs5* liblzo2-2* libnss-mymachines* libtcl8.6* localechooser-data*
[INFO distinst:crates/chroot/src/command.rs:98] os-prober* pop-installer* pop-installer-casper* pop-shop-casper*
[INFO distinst:crates/chroot/src/command.rs:98] squashfs-tools* systemd-container* tcl-expect* tcl8.6* user-setup* xfsprogs*
[INFO distinst:crates/chroot/src/command.rs:98] 0 aktualizováno, 0 nově instalováno, 33 k odstranění a 2 neaktualizováno.
[INFO distinst:crates/chroot/src/command.rs:98] Po této operaci bude na disku uvolněno 36,8 MB.
```
`/var/log/syslog`:
```
May 14 11:25:52 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:src/installer/steps/configure/chroot_conf.rs:57] removing packages: ["btrfs-progs", "casper", "cifs-utils", "distinst", "dmraid", "expect", "f2fs-tools", "fatresize", "gettext", "gparted", "gparted-common", "kpartx", "kpartx-boot", "libcroco3", "libdistinst", "libdmraid1.0.0.rc16", "libf2fs-format4", "libf2fs5", "liblzo2-2", "libnss-mymachines", "libtcl8.6", "localechooser-data", "os-prober", "pop-installer", "pop-installer-casper", "pop-shop-casper", "squashfs-tools", "systemd-container", "tcl-expect", "tcl8.6", "user-setup", "xfsprogs", "kernelstub"]
May 14 11:25:52 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:108] running "chroot" "/tmp/distinst.TFiumuT9RThm" "apt-get" "purge" "-y" "btrfs-progs" "casper" "cifs-utils" "distinst" "dmraid" "expect" "f2fs-tools" "fatresize" "gettext" "gparted" "gparted-common" "kpartx" "kpartx-boot" "libcroco3" "libdistinst" "libdmraid1.0.0.rc16" "libf2fs-format4" "libf2fs5" "liblzo2-2" "libnss-mymachines" "libtcl8.6" "localechooser-data" "os-prober" "pop-installer" "pop-installer-casper" "pop-shop-casper" "squashfs-tools" "systemd-container" "tcl-expect" "tcl8.6" "user-setup" "xfsprogs" "kernelstub"
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98]
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98]
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] Načítají se stavové informace…
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] Následující balíky byly nainstalovány automaticky a již nejsou potřeba:
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] efibootmgr python3-debian
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] Pro jejich odstranění použijte „apt autoremove“.
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] Následující balíky budou ODSTRANĚNY:
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] btrfs-progs* casper* cifs-utils* distinst* dmraid* expect* f2fs-tools*
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] fatresize* gettext* gparted* gparted-common* kernelstub* kpartx*
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] kpartx-boot* libcroco3* libdistinst* libdmraid1.0.0.rc16* libf2fs-format4*
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] libf2fs5* liblzo2-2* libnss-mymachines* libtcl8.6* localechooser-data*
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] os-prober* pop-installer* pop-installer-casper* pop-shop-casper*
May 14 11:25:55 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] squashfs-tools* systemd-container* tcl-expect* tcl8.6* user-setup* xfsprogs*
May 14 11:25:56 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] 0 aktualizováno, 0 nově instalováno, 33 k odstranění a 2 neaktualizováno.
May 14 11:25:56 pop-os io.elementary.installer.desktop[2104]: [INFO distinst:crates/chroot/src/command.rs:98] Po této operaci bude na disku uvolněno 36,8 MB.
May 14 11:25:56 pop-os io.elementary.installer.desktop[2104]: thread '<unnamed>' panicked at 'byte index 149 is not a char boundary; it is inside '…' (bytes 148..151) of `(Načítá se databáze … #015(Načítá se databáze … 5%#015(Načítá se databáze … 10%#015(Načítá se databáze … 15%#015(Načítá se databáze … 20%#015(Načítá se databáze … 25%#015(Načítá se databáze … 30%#015(Načítá se databáze … 35%#015(Na`[...]', src/libcore/str/mod.rs:2069:5
May 14 11:25:56 pop-os io.elementary.installer.desktop[2104]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
May 14 11:25:56 pop-os io.elementary.installer.desktop[2104]: fatal runtime error: failed to initiate panic, error 5
```
`/var/log/apport.log`:
```
ERROR: apport (pid 2908) Thu May 14 11:25:56 2020: called for pid 2104, signal 6, core limit 0, dump mode 1
ERROR: apport (pid 2908) Thu May 14 11:25:56 2020: executable: /usr/bin/io.elementary.installer (command line "/usr/bin/io.elementary.installer")
ERROR: apport (pid 2908) Thu May 14 11:25:56 2020: is_closing_session(): no DBUS_SESSION_BUS_ADDRESS in environment
ERROR: apport (pid 2908) Thu May 14 11:26:01 2020: wrote report /var/crash/_usr_bin_io.elementary.installer.0.crash
```
`/var/crash/_usr_bin_io.elementary.installer.0.crash`:
Available as [GitLab snippet](https://gitlab.com/snippets/1976626)
**Steps to reproduce (if you know):**
1. Boot Pop!_OS 20.04 installation media
2. When asked for language, select "čeština" (i.e. Czech; almost at the end of the list of languages), the rest does not matter – i.e. you can choose any keyboard layout, installation type, encryption etc.
3. The installer just crashes during installation, no error displayed
**Expected behavior:**
The installer finishes installation and prompts to reboot to newly installed system
**Other Notes:**
From the logs I think the crash appears because the Czech translation (maybe some other translations too) uses "…" (`0x2026` – Horizontal ellipsis) in string "Načítá se databáze …" which is Czech translation for "Reading database ..." while most of the translations (e.g. English, Slovak, Spanish, Turkish) use just three consecutive period symbols "." (`0x2E` – Full stop).