DEBUG: Executing python function do_rootfs_install DEBUG: Executing shell function root_cleandirs DEBUG: Shell function root_cleandirs finished DEBUG: Executing shell function rootfs_prepare DEBUG: Shell function rootfs_prepare finished DEBUG: Executing shell function rootfs_configure_isar_apt DEBUG: Shell function rootfs_configure_isar_apt finished DEBUG: Executing shell function image_configure_accounts Execute groupadd with "--system" for "isar" Do not execute usermod (no changes). Execute useradd with "--gid isar --comment My isar user --home-dir /var/lib/isar --system --create-home" for "isar" DEBUG: Shell function image_configure_accounts finished DEBUG: Executing shell function image_configure_fstab # Begin /etc/fstab /dev/root / auto defaults 0 0 proc /proc proc nosuid,noexec,nodev 0 0 sysfs /sys sysfs nosuid,noexec,nodev 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /run tmpfs defaults 0 0 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 # End /etc/fstab DEBUG: Shell function image_configure_fstab finished DEBUG: Executing shell function rootfs_do_mounts DEBUG: Shell function rootfs_do_mounts finished DEBUG: Executing shell function rootfs_install_pkgs_update Get:1 file:/isar-apt isar InRelease Ign:1 file:/isar-apt isar InRelease Get:2 file:/isar-apt isar Release [4284 B] Get:2 file:/isar-apt isar Release [4284 B] Get:3 file:/isar-apt isar Release.gpg Ign:3 file:/isar-apt isar Release.gpg Get:4 file:/isar-apt isar/main armhf Packages [1661 B] Reading package lists... DEBUG: Shell function rootfs_install_pkgs_update finished DEBUG: Executing shell function rootfs_install_resolvconf DEBUG: Shell function rootfs_install_resolvconf finished DEBUG: Executing shell function rootfs_install_pkgs_download Reading package lists... Building dependency tree... Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: cpio dmsetup initramfs-tools initramfs-tools-core klibc-utils kmod libapparmor1 libargon2-1 libcap2 libcryptsetup12 libdevmapper1.02.1 libhello libidn11 libip4tc0 libjson-c3 libklibc libkmod2 libssl1.1 linux-base linux-image-4.19.0-5-armmp lsb-base systemd systemd-sysv udev Suggested packages: libarchive1 bash-completion linux-doc-4.19 debian-kernel-handbook systemd-container policykit-1 Recommended packages: busybox | busybox-static pigz firmware-linux-free apparmor libpam-systemd dbus libnss-systemd The following NEW packages will be installed: cpio dmsetup enable-fsck example-module-armmp example-raw hello-isar init initramfs-tools initramfs-tools-core klibc-utils kmod libapparmor1 libargon2-1 libcap2 libcryptsetup12 libdevmapper1.02.1 libhello libidn11 libip4tc0 libjson-c3 libklibc libkmod2 libssl1.1 linux-base linux-image-4.19.0-5-armmp linux-image-armmp lsb-base systemd systemd-sysv udev 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 41.1 MB/41.2 MB of archives. After this operation, 180 MB of additional disk space will be used. Get:1 file:/isar-apt isar/main armhf enable-fsck armhf 1.0 [1828 B] Get:2 file:/isar-apt isar/main armhf example-module-armmp armhf 1.0 [22.5 kB] Get:3 file:/isar-apt isar/main armhf example-raw armhf 0.3 [1436 B] Get:4 file:/isar-apt isar/main armhf libhello armhf 0.1 [2732 B] Get:5 file:/isar-apt isar/main armhf hello-isar armhf 0.3 [3716 B] Get:7 http://ftp.debian.org/debian buster/main armhf libapparmor1 armhf 2.13.2-10 [89.6 kB] Get:8 http://ftp.debian.org/debian buster/main armhf libcap2 armhf 1:2.25-2 [16.3 kB] Get:9 http://ftp.debian.org/debian buster/main armhf libargon2-1 armhf 0~20171227-0.2 [20.4 kB] Get:10 http://ftp.debian.org/debian buster/main armhf dmsetup armhf 2:1.02.155-3 [90.0 kB] Get:11 http://ftp.debian.org/debian buster/main armhf libdevmapper1.02.1 armhf 2:1.02.155-3 [131 kB] Get:12 http://ftp.debian.org/debian buster/main armhf libjson-c3 armhf 0.12.1+ds-2 [24.9 kB] Get:13 http://ftp.debian.org/debian buster/main armhf libssl1.1 armhf 1.1.1c-1 [1294 kB] Get:6 http://security-cdn.debian.org buster/updates/main armhf linux-image-4.19.0-5-armmp armhf 4.19.37-5+deb10u1 [33.8 MB] Get:14 http://ftp.debian.org/debian buster/main armhf libcryptsetup12 armhf 2:2.1.0-5 [174 kB] Get:15 http://ftp.debian.org/debian buster/main armhf libidn11 armhf 1.33-2.2 [113 kB] Get:16 http://ftp.debian.org/debian buster/main armhf libip4tc0 armhf 1.8.2-4 [68.1 kB] Get:17 http://ftp.debian.org/debian buster/main armhf libkmod2 armhf 26-1 [46.4 kB] Get:18 http://ftp.debian.org/debian buster/main armhf systemd armhf 241-5 [3281 kB] Get:19 http://ftp.debian.org/debian buster/main armhf systemd-sysv armhf 241-5 [98.2 kB] Get:20 http://ftp.debian.org/debian buster/main armhf init armhf 1.56+nmu1 [14.6 kB] Get:21 http://ftp.debian.org/debian buster/main armhf cpio armhf 2.12+dfsg-9 [211 kB] Get:22 http://ftp.debian.org/debian buster/main armhf lsb-base all 10.2019051400 [28.4 kB] Get:23 http://ftp.debian.org/debian buster/main armhf kmod armhf 26-1 [80.5 kB] Get:24 http://ftp.debian.org/debian buster/main armhf udev armhf 241-5 [1249 kB] Get:25 http://ftp.debian.org/debian buster/main armhf libklibc armhf 2.0.6-1 [51.8 kB] Get:26 http://ftp.debian.org/debian buster/main armhf klibc-utils armhf 2.0.6-1 [85.9 kB] Get:27 http://ftp.debian.org/debian buster/main armhf initramfs-tools-core all 0.133 [98.7 kB] Get:28 http://ftp.debian.org/debian buster/main armhf linux-base all 4.6 [32.4 kB] Get:29 http://ftp.debian.org/debian buster/main armhf initramfs-tools all 0.133 [69.2 kB] Get:30 http://ftp.debian.org/debian buster/main armhf linux-image-armmp armhf 4.19+105 [8096 B] Fetched 41.1 MB in 8s (5057 kB/s) Download complete and in download only mode DEBUG: Shell function rootfs_install_pkgs_download finished DEBUG: Executing shell function image_install_localepurge_download Reading package lists... Building dependency tree... Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: libncurses6 libprocps7 lsb-base procps sensible-utils ucf Suggested packages: debfoster deborphan bleachbit Recommended packages: libgpm2 psmisc The following NEW packages will be installed: libncurses6 libprocps7 localepurge lsb-base procps sensible-utils ucf 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 519 kB/547 kB of archives. After this operation, 1321 kB of additional disk space will be used. Get:1 http://ftp.debian.org/debian buster/main armhf libncurses6 armhf 6.1+20181013-2 [79.7 kB] Get:2 http://ftp.debian.org/debian buster/main armhf libprocps7 armhf 2:3.3.15-2 [58.7 kB] Get:3 http://ftp.debian.org/debian buster/main armhf procps armhf 2:3.3.15-2 [248 kB] Get:4 http://ftp.debian.org/debian buster/main armhf sensible-utils all 0.0.12 [15.8 kB] Get:5 http://ftp.debian.org/debian buster/main armhf ucf all 3.0038+nmu1 [69.0 kB] Get:6 http://ftp.debian.org/debian buster/main armhf localepurge all 0.7.3.5 [47.6 kB] Fetched 519 kB in 1s (772 kB/s) Download complete and in download only mode DEBUG: Shell function image_install_localepurge_download finished DEBUG: Executing shell function rootfs_install_clean_files DEBUG: Shell function rootfs_install_clean_files finished DEBUG: Executing shell function rootfs_install_pkgs_install Reading package lists... Building dependency tree... Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: cpio dmsetup initramfs-tools initramfs-tools-core klibc-utils kmod libapparmor1 libargon2-1 libcap2 libcryptsetup12 libdevmapper1.02.1 libhello libidn11 libip4tc0 libjson-c3 libklibc libkmod2 libssl1.1 linux-base linux-image-4.19.0-5-armmp lsb-base systemd systemd-sysv udev Suggested packages: libarchive1 bash-completion linux-doc-4.19 debian-kernel-handbook systemd-container policykit-1 Recommended packages: busybox | busybox-static pigz firmware-linux-free apparmor libpam-systemd dbus libnss-systemd The following NEW packages will be installed: cpio dmsetup enable-fsck example-module-armmp example-raw hello-isar init initramfs-tools initramfs-tools-core klibc-utils kmod libapparmor1 libargon2-1 libcap2 libcryptsetup12 libdevmapper1.02.1 libhello libidn11 libip4tc0 libjson-c3 libklibc libkmod2 libssl1.1 linux-base linux-image-4.19.0-5-armmp linux-image-armmp lsb-base systemd systemd-sysv udev 0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/41.2 MB of archives. After this operation, 180 MB of additional disk space will be used. Get:1 file:/isar-apt isar/main armhf enable-fsck armhf 1.0 [1828 B] Get:2 file:/isar-apt isar/main armhf example-module-armmp armhf 1.0 [22.5 kB] Get:3 file:/isar-apt isar/main armhf example-raw armhf 0.3 [1436 B] Get:4 file:/isar-apt isar/main armhf libhello armhf 0.1 [2732 B] Get:5 file:/isar-apt isar/main armhf hello-isar armhf 0.3 [3716 B] debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libapparmor1:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 7105 files and directories currently installed.) Preparing to unpack .../00-libapparmor1_2.13.2-10_armhf.deb ... Unpacking libapparmor1:armhf (2.13.2-10) ... Selecting previously unselected package libcap2:armhf. Preparing to unpack .../01-libcap2_1%3a2.25-2_armhf.deb ... Unpacking libcap2:armhf (1:2.25-2) ... Selecting previously unselected package libargon2-1:armhf. Preparing to unpack .../02-libargon2-1_0~20171227-0.2_armhf.deb ... Unpacking libargon2-1:armhf (0~20171227-0.2) ... Selecting previously unselected package dmsetup. Preparing to unpack .../03-dmsetup_2%3a1.02.155-3_armhf.deb ... Unpacking dmsetup (2:1.02.155-3) ... Selecting previously unselected package libdevmapper1.02.1:armhf. Preparing to unpack .../04-libdevmapper1.02.1_2%3a1.02.155-3_armhf.deb ... Unpacking libdevmapper1.02.1:armhf (2:1.02.155-3) ... Selecting previously unselected package libjson-c3:armhf. Preparing to unpack .../05-libjson-c3_0.12.1+ds-2_armhf.deb ... Unpacking libjson-c3:armhf (0.12.1+ds-2) ... Selecting previously unselected package libssl1.1:armhf. Preparing to unpack .../06-libssl1.1_1.1.1c-1_armhf.deb ... Unpacking libssl1.1:armhf (1.1.1c-1) ... Selecting previously unselected package libcryptsetup12:armhf. Preparing to unpack .../07-libcryptsetup12_2%3a2.1.0-5_armhf.deb ... Unpacking libcryptsetup12:armhf (2:2.1.0-5) ... Selecting previously unselected package libidn11:armhf. Preparing to unpack .../08-libidn11_1.33-2.2_armhf.deb ... Unpacking libidn11:armhf (1.33-2.2) ... Selecting previously unselected package libip4tc0:armhf. Preparing to unpack .../09-libip4tc0_1.8.2-4_armhf.deb ... Unpacking libip4tc0:armhf (1.8.2-4) ... Selecting previously unselected package libkmod2:armhf. Preparing to unpack .../10-libkmod2_26-1_armhf.deb ... Unpacking libkmod2:armhf (26-1) ... Selecting previously unselected package systemd. Preparing to unpack .../11-systemd_241-5_armhf.deb ... Unpacking systemd (241-5) ... Setting up libapparmor1:armhf (2.13.2-10) ... Setting up libcap2:armhf (1:2.25-2) ... Setting up libargon2-1:armhf (0~20171227-0.2) ... Setting up libjson-c3:armhf (0.12.1+ds-2) ... Setting up libssl1.1:armhf (1.1.1c-1) ... Setting up libidn11:armhf (1.33-2.2) ... Setting up libip4tc0:armhf (1.8.2-4) ... Setting up libkmod2:armhf (26-1) ... Setting up libdevmapper1.02.1:armhf (2:1.02.155-3) ... Setting up libcryptsetup12:armhf (2:2.1.0-5) ... Setting up systemd (241-5) ... Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service -> /lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target -> /lib/systemd/system/remote-fs.target. Created symlink /etc/systemd/system/dbus-org.freedesktop.timesync1.service -> /lib/systemd/system/systemd-timesyncd.service. Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service -> /lib/systemd/system/systemd-timesyncd.service. Initializing machine ID from random generator. Setting up dmsetup (2:1.02.155-3) ... Selecting previously unselected package systemd-sysv. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 7958 files and directories currently installed.) Preparing to unpack .../systemd-sysv_241-5_armhf.deb ... Unpacking systemd-sysv (241-5) ... Setting up systemd-sysv (241-5) ... Selecting previously unselected package init. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 7975 files and directories currently installed.) Preparing to unpack .../00-init_1.56+nmu1_armhf.deb ... Unpacking init (1.56+nmu1) ... Selecting previously unselected package cpio. Preparing to unpack .../01-cpio_2.12+dfsg-9_armhf.deb ... Unpacking cpio (2.12+dfsg-9) ... Selecting previously unselected package lsb-base. Preparing to unpack .../02-lsb-base_10.2019051400_all.deb ... Unpacking lsb-base (10.2019051400) ... Selecting previously unselected package kmod. Preparing to unpack .../03-kmod_26-1_armhf.deb ... Unpacking kmod (26-1) ... Selecting previously unselected package udev. Preparing to unpack .../04-udev_241-5_armhf.deb ... Unpacking udev (241-5) ... Selecting previously unselected package libklibc:armhf. Preparing to unpack .../05-libklibc_2.0.6-1_armhf.deb ... Unpacking libklibc:armhf (2.0.6-1) ... Selecting previously unselected package klibc-utils. Preparing to unpack .../06-klibc-utils_2.0.6-1_armhf.deb ... Unpacking klibc-utils (2.0.6-1) ... Selecting previously unselected package initramfs-tools-core. Preparing to unpack .../07-initramfs-tools-core_0.133_all.deb ... Unpacking initramfs-tools-core (0.133) ... Selecting previously unselected package linux-base. Preparing to unpack .../08-linux-base_4.6_all.deb ... Unpacking linux-base (4.6) ... Selecting previously unselected package initramfs-tools. Preparing to unpack .../09-initramfs-tools_0.133_all.deb ... Unpacking initramfs-tools (0.133) ... Selecting previously unselected package enable-fsck. Preparing to unpack .../10-enable-fsck_1.0_armhf.deb ... Unpacking enable-fsck (1.0) ... Selecting previously unselected package linux-image-4.19.0-5-armmp. Preparing to unpack .../11-linux-image-4.19.0-5-armmp_4.19.37-5+deb10u1_armhf.deb ... Unpacking linux-image-4.19.0-5-armmp (4.19.37-5+deb10u1) ... Selecting previously unselected package linux-image-armmp. Preparing to unpack .../12-linux-image-armmp_4.19+105_armhf.deb ... Unpacking linux-image-armmp (4.19+105) ... Selecting previously unselected package example-module-armmp. Preparing to unpack .../13-example-module-armmp_1.0_armhf.deb ... Unpacking example-module-armmp (1.0) ... Selecting previously unselected package example-raw. Preparing to unpack .../14-example-raw_0.3_armhf.deb ... Unpacking example-raw (0.3) ... Selecting previously unselected package libhello. Preparing to unpack .../15-libhello_0.1_armhf.deb ... Unpacking libhello (0.1) ... Selecting previously unselected package hello-isar. Preparing to unpack .../16-hello-isar_0.3_armhf.deb ... Unpacking hello-isar (0.3) ... Setting up cpio (2.12+dfsg-9) ... update-alternatives: using /bin/mt-gnu to provide /bin/mt (mt) in auto mode Setting up lsb-base (10.2019051400) ... Setting up linux-base (4.6) ... Setting up init (1.56+nmu1) ... Setting up kmod (26-1) ... qemu: Unsupported syscall: 382 Setting up libhello (0.1) ... Setting up libklibc:armhf (2.0.6-1) ... Setting up udev (241-5) ... A chroot environment has been detected, udev not started. Setting up klibc-utils (2.0.6-1) ... No diversion 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils', none removed. Setting up hello-isar (0.3) ... Setting up example-raw (0.3) ... Setting up initramfs-tools-core (0.133) ... Setting up initramfs-tools (0.133) ... update-initramfs: deferring update (trigger activated) Setting up enable-fsck (1.0) ... Created symlink /etc/systemd/system/sysinit.target.wants/enable-fsck.service -> /lib/systemd/system/enable-fsck.service. Setting up linux-image-4.19.0-5-armmp (4.19.37-5+deb10u1) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.19.0-5-armmp I: /initrd.img.old is now a symlink to boot/initrd.img-4.19.0-5-armmp I: /vmlinuz is now a symlink to boot/vmlinuz-4.19.0-5-armmp I: /initrd.img is now a symlink to boot/initrd.img-4.19.0-5-armmp /etc/kernel/postinst.d/apt-auto-removal: qemu: Unsupported syscall: 382 /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.19.0-5-armmp qemu: Unsupported syscall: 382 Setting up linux-image-armmp (4.19+105) ... Setting up example-module-armmp (1.0) ... Processing triggers for systemd (241-5) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for initramfs-tools (0.133) ... update-initramfs: Generating /boot/initrd.img-4.19.0-5-armmp qemu: Unsupported syscall: 382 DEBUG: Shell function rootfs_install_pkgs_install finished DEBUG: Executing shell function image_install_localepurge_install localepurge was not installed (removing it later) Reading package lists... Building dependency tree... Reading state information... Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done The following additional packages will be installed: libncurses6 libprocps7 procps sensible-utils ucf Suggested packages: debfoster deborphan bleachbit Recommended packages: libgpm2 psmisc The following NEW packages will be installed: libncurses6 libprocps7 localepurge procps sensible-utils ucf debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/519 kB of archives. After this operation, 1271 kB of additional disk space will be used. Selecting previously unselected package libncurses6:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12523 files and directories currently installed.) Preparing to unpack .../0-libncurses6_6.1+20181013-2_armhf.deb ... Unpacking libncurses6:armhf (6.1+20181013-2) ... Selecting previously unselected package libprocps7:armhf. Preparing to unpack .../1-libprocps7_2%3a3.3.15-2_armhf.deb ... Unpacking libprocps7:armhf (2:3.3.15-2) ... Selecting previously unselected package procps. Preparing to unpack .../2-procps_2%3a3.3.15-2_armhf.deb ... Unpacking procps (2:3.3.15-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../3-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package ucf. Preparing to unpack .../4-ucf_3.0038+nmu1_all.deb ... Moving old data out of the way Unpacking ucf (3.0038+nmu1) ... Selecting previously unselected package localepurge. Preparing to unpack .../5-localepurge_0.7.3.5_all.deb ... Unpacking localepurge (0.7.3.5) ... Setting up libprocps7:armhf (2:3.3.15-2) ... Setting up libncurses6:armhf (6.1+20181013-2) ... Setting up sensible-utils (0.0.12) ... Setting up procps (2:3.3.15-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Setting up ucf (3.0038+nmu1) ... Setting up localepurge (0.7.3.5) ... qemu: Unsupported syscall: 382 qemu: Unsupported syscall: 382 Processing triggers for systemd (241-5) ... Processing triggers for libc-bin (2.28-10) ... running locale debconf-set-selections reconfigure locales Generating locales (this might take a while)... en_US.ISO-8859-1... done en_US.UTF-8... done Generation complete. running localepurge qemu: Unsupported syscall: 382 qemu: Unsupported syscall: 382 removing localepurge... Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libncurses6 libprocps7 procps ucf Use 'apt autoremove' to remove them. The following packages will be REMOVED: localepurge* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 124 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12651 files and directories currently installed.) Removing localepurge (0.7.3.5) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12640 files and directories currently installed.) Purging configuration files for localepurge (0.7.3.5) ... qemu: Unsupported syscall: 382 qemu: Unsupported syscall: 382 To reinstall all the packages which localepurge has been taking care of before, you can use the following command: apt-get -u --reinstall --fix-missing install $(dpkg -S LC_MESSAGES | cut -d: -f1 | tr ', ' '' | sort -u) Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: libncurses6* libprocps7* procps* ucf* 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. After this operation, 1083 kB disk space will be freed. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12639 files and directories currently installed.) Removing procps (2:3.3.15-2) ... Removing libncurses6:armhf (6.1+20181013-2) ... Removing libprocps7:armhf (2:3.3.15-2) ... Removing ucf (3.0038+nmu1) ... Processing triggers for libc-bin (2.28-10) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 12552 files and directories currently installed.) Purging configuration files for ucf (3.0038+nmu1) ... Purging configuration files for procps (2:3.3.15-2) ... Processing triggers for systemd (241-5) ... DEBUG: Shell function image_install_localepurge_install finished DEBUG: Python function do_rootfs_install finished