In the meantime, I simply skipped 12.04.1 postinst with this:
dpkg -l | grep -qE 'shim-signed[[:space:]]+1\.5~12\.04\.1' && sed -i '1a exit 0' /var/lib/dpkg/info/shim-signed.postinst apt-get update && apt-get dist-upgrade && apt-get dist-upgrade
I had to run dist-upgrade twice, once to finish setting up 12.04.1 and the last to effectively install 12.04.2
In the meantime, I simply skipped 12.04.1 postinst with this:
dpkg -l | grep -qE 'shim-signed[ [:space: ]]+1\.5~ 12\.04\ .1' && sed -i '1a exit 0' /var/lib/ dpkg/info/ shim-signed. postinst
apt-get update && apt-get dist-upgrade && apt-get dist-upgrade
I had to run dist-upgrade twice, once to finish setting up 12.04.1 and the last to effectively install 12.04.2