Hello, Im getting this error in KVM/libvirt/qemu stack but when I try in VirtualBox he make the update perfectly without errors, I delete and reinstall, try other things but the problem remains.
Following your advice I started trying another configuration in the firmware, I actually was using the same of bellow but the one that have secure boot, so after several test I realize that with:
Firmware: UEFI x86_64: /usr/share/edk2/ovmf/OVMF_CODE.fd he finally finish the update smoothly.