Could you please provide the output of the following command : sudo DEBCONF_DEBUG=developer sh -x /usr/sbin/update-grub ; echo $?
Could you please provide the output of the following command : DEBUG=developer sh -x /usr/sbin/ update- grub ; echo $?
sudo DEBCONF_