The error in your log is:
Processing triggers for shim-signed (1.34.4+13-0ubuntu2) ... No MOK found. dpkg: error processing package shim-signed (--configure): installed shim-signed package post-installation script subprocess returned error exit status 1
I cannot see anything in your log which explains why shim-signed is being triggered. What are the contents of /var/lib/dkms on your system?
The error in your log is:
Processing triggers for shim-signed (1.34.4+ 13-0ubuntu2) ...
No MOK found.
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 1
I cannot see anything in your log which explains why shim-signed is being triggered. What are the contents of /var/lib/dkms on your system?