Could you report me a "ls -laF /var/run/qemu/" what else might be the issue there? I mean you even removed it so ... ?!
The failing script should be /var/lib/dpkg/info/qemu-system-gui\:amd64.prerm Could you replace the "set -e" with "set -ex" there please and report back all the output your upgrade generates? And finally to keep output down a bit, don't do "sudo apt-get dist- upgrade -y" but maybe "sudo apt install qemu-system-gui -y" Eager to hear back to see what other issue is hidden in there. P.S. And thanks for testing the current -dev release even if this time this bite you (and probably everyone else). ** Changed in: qemu (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1906245 Title: qemu-system-gui 1:5.1+dfsg-4ubuntu2 fails to upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1906245/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs