To be clear on my previous comment, the fix recommended is adding a semicolon on line 699 of
/var/lib/dpkg/info/grub-pc.postinst
(use sudo with your favourite text editor)
Changing:
if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10 then
into
if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10 ; then
…and then instructing pdkg to complete the configuration with:
sudo dpkg --configure grub-pc
To be clear on my previous comment, the fix recommended is adding a semicolon on line 699 of lib/dpkg/ info/grub- pc.postinst
/var/
(use sudo with your favourite text editor)
Changing: 36ubuntu3. 10 then 36ubuntu3. 10 ; then
if dpkg --compare-versions "$2" lt-nl 2.02~beta2-
into
if dpkg --compare-versions "$2" lt-nl 2.02~beta2-
…and then instructing pdkg to complete the configuration with:
sudo dpkg --configure grub-pc