/etc/default/grub: 23: Syntax error: newline unexpected
dpkg: error processing linux-image-2.6.35-22-generic-pae (--configure):
subprocess installed post-installation script returned error exit status 2
Sub-process /usr/bin/dpkg returned an error code (1)
dpkg --configure -aand
apt-get -f installthis did nothing for me. I read that some had success with that combination.
What I did was to open a terminal:
I then I made a temporary directory:
then I moved the files associated with the error:
then I ran
apt-get install -f
apt-get update && apt-get upgrade
after that the error was gone. I was still in the
/var/lib/dpkg/infodirectory, so; I deleted the temp directory by running.
rm -r temp