Error while reomving the new kernel 2.6.37

Posted by Tarek on Ask Ubuntu See other posts from Ask Ubuntu or by Tarek
Published on 2011-01-09T23:20:51Z Indexed on 2011/01/09 23:58 UTC
Read the original article Hit count: 232

Filed under:
|

Hi! I tried to install the new kernel but something went wrong and I'm trying to remove it now. The error massege is:

mhd@Tarek-Laptop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  linux-image-2.6.37-020637-generic
0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.
1 not fully installed or removed.
After this operation, 111MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 188780 files and directories currently installed.)
Removing linux-image-2.6.37-020637-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.37-020637-generic /boot/vmlinuz-2.6.37-020637-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.37-020637-generic /boot/vmlinuz-2.6.37-020637-generic
/etc/default/grub: 33: Syntax error: EOF in backquote substitution
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.37-020637-generic.postrm line 328.
dpkg: error processing linux-image-2.6.37-020637-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-2.6.37-020637-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

The previous unsloved error is on this bug.

© Ask Ubuntu or respective owner

Related posts about kernel

Related posts about software-center