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 /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/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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1928075

Title:
  Segfault with qemu-aarch64-static  doing debootstrap  for debian
  bullseye but not buster

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1928075/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to