Comment 4 for bug 1315879

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
/usr/sbin/grub-probe: error: failed to get canonical path of /boot/grub/locale.
/usr/sbin/grub-probe: error: cannot stat `'.
User postinst hook script [/usr/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-3.2.0-61-generic (--configure):
 subprocess installed post-installation script returned error exit status 1

Looks like running update-grub fails.

Have you removed files on your system? This could explain some of these files missing.

To fix the situation, I would suggest running 'sudo grub-install /dev/sda' (assuming the disk where grub should be installed is indeed /dev/sda), followed by 'sudo update-grub'.