mk-sbuild breaks with "sudo: qemu-debootstrap: command not found" on Ubuntu 23.10+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi!
[Reproducing the problem]
$ mk-sbuild mantic --arch=arm/armhf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
qemu-user-static
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.0 MB of archives.
After this operation, 123 MB of additional disk space will be used.
Get:1 http://
Fetched 12.0 MB in 0s (53.4 MB/s)
Selecting previously unselected package qemu-user-static.
(Reading database ... 102009 files and directories currently installed.)
Preparing to unpack .../qemu-
Unpacking qemu-user-static (1:8.0.
Setting up qemu-user-static (1:8.0.
Processing triggers for man-db (2.11.2-3) ...
Processing triggers for systemd (253.5-1ubuntu6) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
sudo: qemu-debootstrap: command not found
[Describing the problem]
mk-sbuild relies on "qemu-debootstrap" from "qemu-user-static". This binary (/usr/sbin/
[Request]
Given that if we use the Debian latest version we get:
/usr/sbin/
W: qemu-debootstrap is deprecated. Please use regular debootstrap directly
Can you please update the code to use debootstrap instead?
Thank you!
Jhonny Oliveira
description: | updated |
I ran into this when I was trying to build an amd64 schroot on arm64.
I had meant to build an arm64 schroot, and once the host and schroot had the same arch my command worked.