#1112377 pbuilder: qemu-debootstrap does not exist, install or change DEBOOTSTRAP option

#1112377#5
Date:
2025-08-29 09:33:07 UTC
From:
To:
Dear Maintainer,

When attempting to create a pbuilder image for a foreign architecture,
it fails in qemu-debootstrap because package qemu-user-static is
deprecated.

```
❯ sudo DIST=sid ARCH=arm64 pbuilder create
I: Distribution is sid.
I: Current time: Fri Aug 29 15:00:14 IST 2025
I: pbuilder-time-stamp: 1756459814
I: Building the build environment
I: running qemu-debootstrap
E: qemu-debootstrap does not exist, install or change DEBOOTSTRAP option
W: Aborting with an error
I: cleaning the build env
I: removing directory /var/tmp/Debian-Build/Build/669001 and its subdirectories
```

#1112377#10
Date:
2025-08-29 19:36:16 UTC
From:
To:
qemu-user-static has been renamed to just qemu-user.

But since the last security update, it cannot be used to
build foreign-arch packages in chroots any more *anyway*
either, unless the local admin manually reverts what the
security fix changed in the binfmt-misc configuration.

bye,
//mirabilos

#1112377#15
Date:
2025-09-01 15:53:53 UTC
From:
To:
I think it was my mistake. I confused myself on qemu-debootstrap and
qemu-user-static. Possibly because package qemu-user-static is what
provides tool qemu-debootstrap.

Removing the package and the tool's reference in configuration files,
pbuilder is working fine doing builds for armhf in qemu user emulation
mode. I do have the qemu-user-binfmt package installed.

Thanks,
Ritesh