Package: apt Version: 1.5~beta Apt-get fails with this version, but not with 1.4.6. I do Debian testing Xfce SD card images for the Amlogic S912 TV box. There is /usr/bin/qemu-aarch64-static in the destination file system. Armbian distribution build script uses the following command in lib/deboostrap-ng.sh:
eval 'LC_ALL=C LANG=C chroot $CACHEDIR/$SDCARD /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get -y -q -m \ $apt_extra $apt_extra_progress --no-install-recommends install $PACKAGE_LIST"' After installing successfully several packages, in the logs there is: Selecting previously unselected package gnome-icon-theme. Preparing to unpack .../070-gnome-icon-theme_3.12.0-2_all.deb ... Unpacking gnome-icon-theme (3.12.0-2) ... dpkg: error processing archive /tmp/apt-dpkg-install-sQZDkO/070-gnome-icon-theme_3.12.0-2_all.deb (--unpack): corrupted filesystem tarfile - corrupted package archive And apt-get fails to install any additional packages. I debootstrapped Debian base system using stretch where is apt 1.4.6. Then chroot works ok with testing packages.