I added
if [ -e /cdrom/casper/ ]; then exit 0 fi
in the beginning of /etc/kernel/postinst.d/zz-update-grub as a naive workaround.
I added
if [ -e /cdrom/casper/ ]; then
exit 0
fi
in the beginning of /etc/kernel/ postinst. d/zz-update- grub as a naive workaround.