Package: mmdebstrap
Version: 0.6.1-7
I tried to bootstrap an i386 chroot on an amd64 system, but it didn't
work:
# mmdebstrap --arch=i386 --variant=minbase unstable /srv/chroots/unstable-i386
I: automatically chosen mode: root
W: binfmt_misc not found in /proc/filesystems -- is the module loaded?
W: binfmt_misc not found in /proc/mounts -- not mounted?
Can't exec "/usr/sbin/update-binfmts": No such file or directory at
/usr/bin/mmdebstrap line 3190.
readline() on closed filehandle $fh at /usr/bin/mmdebstrap line 3194.
Use of uninitialized value $binfmts in scalar chomp at /usr/bin/mmdebstrap
line 3194.
Use of uninitialized value $binfmts in string eq at /usr/bin/mmdebstrap line
3197.
W: qemu-i386 is not a supported binfmt name
E: i386 can neither be executed natively nor via qemu user emulation with
binfmt_misc
But this system can execute i386 code natively. In fact, debootstrap(1)
with the same arguments worked flawlessly.
-- System Information:
Architecture: amd64 (x86_64)
Versions of packages mmdebstrap depends on:
ii apt 1.8.2.1
ii perl 5.30.3-4
Versions of packages mmdebstrap recommends:
pn arch-test <none>
pn fakechroot <none>
pn fakeroot <none>
pn gpg <none>
ii mount 2.35.2-7
pn uidmap <none>
Versions of packages mmdebstrap suggests:
ii apt [apt-transport-https] 1.8.2.1
pn apt-transport-tor <none>
pn binfmt-support <none>
ii ca-certificates 20200601
pn dpkg-dev <none>
pn perl-doc <none>
pn proot <none>
pn qemu-user <none>
pn qemu-user-static <none>
pn squashfs-tools-ng <none>
--
Jakub Wilk