In a 21.04 amd64 desktop virtual machine it fails but with a different error apparently related to bullseye systemd package, not sure if I can untangle this mix of problems:
$ sudo apt install qemu-user-static debootstrap
$ sudo qemu-debootstrap --arch=arm64 bullseye bullseye-arm64/ http://ftp.debian.org/debian
W: qemu-debootstrap is deprecated. Please use regular debootstrap directly
I: Running command: debootstrap --arch=arm64 bullseye bullseye-arm64/ http://ftp.debian.org/debian
...
I: Configuring libc-bin...
I: Unpacking the base system...
W: Failure trying to run: chroot "/home/ubuntu/chroot/bullseye-arm64" dpkg --force-overwrite --force-confold --skip-same-version --install /var/cache/apt/archives/libapparmor1_2.13.6-10_arm64.deb /var/cache/apt/archives/libargon2-1_0~20171227-0.2_arm64.deb /var/cache/apt/archives/libcryptsetup12_2%3a2.3.5-1_arm64.deb /var/cache/apt/archives/libip4tc2_1.8.7-1_arm64.deb /var/cache/apt/archives/libjson-c5_0.15-2_arm64.deb /var/cache/apt/archives/libkmod2_28-1_arm64.deb /var/cache/apt/archives/libcap2_1%3a2.44-1_arm64.deb /var/cache/apt/archives/dmsetup_2%3a1.02.175-2.1_arm64.deb /var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.175-2.1_arm64.deb /var/cache/apt/archives/systemd_247.3-5_arm64.deb /var/cache/apt/archives/systemd-timesyncd_247.3-5_arm64.deb
W: See /home/ubuntu/chroot/bullseye-arm64/debootstrap/debootstrap.log for details (possibly the package systemd is at fault)
--- log ---
...
Setting up systemd (247.3-5) ...
Created symlink /<email address hidden> -> /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/sysinit.target.wants/systemd-pstore.service -> /lib/systemd/system/systemd-pstore.service.
Initializing machine ID from random generator.
Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
dpkg: error processing package systemd (--install):
installed systemd package post-installation script subprocess returned error exit status 73
Processing triggers for libc-bin (2.31-11) ...
Errors were encountered while processing:
systemd
In a 21.04 amd64 desktop virtual machine it fails but with a different error apparently related to bullseye systemd package, not sure if I can untangle this mix of problems:
$ sudo apt install qemu-user-static debootstrap
$ sudo qemu-debootstrap --arch=arm64 bullseye bullseye-arm64/ http:// ftp.debian. org/debian ftp.debian. org/debian ubuntu/ chroot/ bullseye- arm64" dpkg --force-overwrite --force-confold --skip-same-version --install /var/cache/ apt/archives/ libapparmor1_ 2.13.6- 10_arm64. deb /var/cache/ apt/archives/ libargon2- 1_0~20171227- 0.2_arm64. deb /var/cache/ apt/archives/ libcryptsetup12 _2%3a2. 3.5-1_arm64. deb /var/cache/ apt/archives/ libip4tc2_ 1.8.7-1_ arm64.deb /var/cache/ apt/archives/ libjson- c5_0.15- 2_arm64. deb /var/cache/ apt/archives/ libkmod2_ 28-1_arm64. deb /var/cache/ apt/archives/ libcap2_ 1%3a2.44- 1_arm64. deb /var/cache/ apt/archives/ dmsetup_ 2%3a1.02. 175-2.1_ arm64.deb /var/cache/ apt/archives/ libdevmapper1. 02.1_2% 3a1.02. 175-2.1_ arm64.deb /var/cache/ apt/archives/ systemd_ 247.3-5_ arm64.deb /var/cache/ apt/archives/ systemd- timesyncd_ 247.3-5_ arm64.deb chroot/ bullseye- arm64/debootstr ap/debootstrap. log for details (possibly the package systemd is at fault)
W: qemu-debootstrap is deprecated. Please use regular debootstrap directly
I: Running command: debootstrap --arch=arm64 bullseye bullseye-arm64/ http://
...
I: Configuring libc-bin...
I: Unpacking the base system...
W: Failure trying to run: chroot "/home/
W: See /home/ubuntu/
--- log --- system/ getty@. service. system/ multi-user. target. wants/remote- fs.target -> /lib/systemd/ system/ remote- fs.target. system/ sysinit. target. wants/systemd- pstore. service -> /lib/systemd/ system/ systemd- pstore. service.
...
Setting up systemd (247.3-5) ...
Created symlink /<email address hidden> -> /lib/systemd/
Created symlink /etc/systemd/
Created symlink /etc/systemd/
Initializing machine ID from random generator.
Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
Detected unsafe path transition / -> /var during canonicalization of /var/log/journal.
dpkg: error processing package systemd (--install):
installed systemd package post-installation script subprocess returned error exit status 73
Processing triggers for libc-bin (2.31-11) ...
Errors were encountered while processing:
systemd