BTW I checked the usual container checks and we have:
$ systemd-detect-virt
wsl

$ systemd-detect-virt --container
wsl
$ echo $?
0

So those could be used here instead of the old test that doesn't catch WSL (and 
probably other containers).
Or to avoid that there might be containers that support this we can make the 
register call "ok to fail".
But that might hide issues on other environments.
Maybe "ok to fail" if in container ...

I'd need to check the old discussions adding the non-working container
check for more details.

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

Title:
  package qemu-user-static 1:3.1+dfsg-2ubuntu3.3 failed to
  install/upgrade: installed qemu-user-static package post-installation
  script subprocess returned error exit status 2

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to