Comment 2 for bug 1840956

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: 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

Note: All the data in the report indicates that you upgrade to 19.04 not 18.10.

hppa was added/enabled in 2.12 so it would make sense that it is called the first time.
To register that it needs the kernels support, maybe in WSL the binfmt has problems with it?

From your log:
Setting up qemu-user-static (1:3.1+dfsg-2ubuntu3.3) ...
update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: Invalid argument
update-binfmts: warning: unable to enable binary format qemu-hppa

I'll ask around, but if there is anyone out there with WSL that could give this a try that would be great. Just install 19.04 and in there qemu-user-static. Just to check if this is a regular or a one-off issue.