According to your DpkgTerminalLog.txt you removed both grub and grub-pc packages, subsequently you do not have update-grub installed and this is why the kernel postinst script is failing.
According to your DpkgTerminalLog.txt you removed both grub and grub-pc packages, subsequently you do not have update-grub installed and this is why the kernel postinst script is failing.