What is /boot/efi/EFI/ubuntu/fwupx64.efi? What's the output of ls /boot/efi/? I search and find bootmgr is Windows file, fwupx64.efi is a linux file...
This is at least the third time I've accidentally borked a do-release-upgrade over ssh by selecting the "Z" option during a dpkg config file conflict...