I release upgraded before installing qemu-user-static for better debugging - as then I can just install/uninstall that package instead of the much more heavy do-release-upgrade.
With that setup I confirmed the issue matchign the reported log: $ sudo apt install qemu-user-static Reading package lists... Done Building dependency tree 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 13.6 MB of archives. After this operation, 129 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu disco-updates/universe amd64 qemu-user-static amd64 1:3.1+dfsg-2ubuntu3.4 [13.6 MB] Fetched 13.6 MB in 5s (3016 kB/s) Selecting previously unselected package qemu-user-static. (Reading database ... 30935 files and directories currently installed.) Preparing to unpack .../qemu-user-static_1%3a3.1+dfsg-2ubuntu3.4_amd64.deb ... Unpacking qemu-user-static (1:3.1+dfsg-2ubuntu3.4) ... Setting up qemu-user-static (1:3.1+dfsg-2ubuntu3.4) ... update-binfmts: warning: unable to close /proc/sys/fs/binfmt_misc/register: Invalid argument update-binfmts: warning: unable to enable binary format qemu-aarch64 update-binfmts: exiting due to previous errors dpkg: error processing package qemu-user-static (--configure): installed qemu-user-static package post-installation script subprocess returned error exit status 2 Processing triggers for man-db (2.8.5-2) ... Errors were encountered while processing: qemu-user-static E: Sub-process /usr/bin/dpkg returned an error code (1) -- 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
