must manually run dpkg --configure -a error

Since no log was posted, I don’t know what happen and therefore also cannot help.

See also:

This would be an issue which you’d probably need to get fixed first. That however belongs to Qubes support.
(What to post in this Qubes-Whonix forum and what not.)