Failed to update

Always get failed to update, after download of the files completed

Here are my logfiles, any pointers?

Could you tell us what command you’re running and list the output it produces?

Are you trying to use unattended-upgrades? This may cause problems with how dpkg handles maintainer questions and files.

I tried to upgrade via the GUI of OSMC.
I tried to install pivpn, so indeed I think I once chose for the option to perform unattended upgrades.
Is there a way to undo this, I think I removed the unattended upgrades package after I decommissioned the pivpn installation, but it seems it left my upgrade path in a faulty state.
Any pointers?