Well, the error that pops up is because you've installed the grub package on your system without configuring it, and this package is deprecated.
You should remove it again with 'sudo apt --purge grub'.
Well, the error that pops up is because you've installed the grub package on your system without configuring it, and this package is deprecated.
You should remove it again with 'sudo apt --purge grub'.