Comment 39 for bug 1840956

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: qemu-user-static fails to install in WSL

Testing the version in proposed in WSL

$ sudo apt install qemu-user-static
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  qemu-user-static
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 13.7 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ppa.launchpad.net/paelzer/bug-1840956-binfmt-containers/ubuntu disco/main amd64 qemu-user-static amd64 1:3.1+dfsg-2ubuntu3.5 [13.7 MB]
Fetched 13.7 MB in 7s (1851 kB/s)
(Reading database ... 31013 files and directories currently installed.)
Preparing to unpack .../qemu-user-static_1%3a3.1+dfsg-2ubuntu3.5_amd64.deb ...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Unpacking qemu-user-static (1:3.1+dfsg-2ubuntu3.5) over (1:3.1+dfsg-2ubuntu3.5~ppa1) ...
Setting up qemu-user-static (1:3.1+dfsg-2ubuntu3.5) ...
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Processing triggers for man-db (2.8.5-2) ...
ubuntu@LAPTOP-B2T4QCSH:~$ echo $?
0

Works as expected, issue fixed.