11.12.2020 07:19, Paul Wise qemu:
On Thu, 2020-12-10 at 10:19 +0000, Michael Tokarev wrote:
* do not install dropped ppc64abi32 binfmt for qemu-user[-static]
(Closes: #977015)
I think you also need to disable and remove it from binfmts, probably
in the preinst, so that the warning about the interpreter executable is
doesn't happen when the earlier version is still installed.
Do you think removing the warning here is actually worth the effort?
I can check existence of /var/lib/binfmts/qemu-ppc64abi32-static before
invoking update-binfmts --remove, so it is only displayed once.
Overall I think the warning in this case is an issue of update-binfmts,
not of qemu, and instead of complicating things further it is better
to use the stright-forward way.
..
$ sudo update-binfmts --package qemu-user-static --remove qemu-ppc64abi32
/usr/bin/qemu-ppc64abi32-static
update-binfmts: warning: no executable /usr/bin/qemu-ppc64abi32-static
found, but continuing anyway as you request
Thanks,
/mjt