Can't update kernel to 2.6.35.27
- by Uri Herrera
When I try to update I get this message, I'm guessing I'm missing something here?
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb6 ext4 43G 7.7G 33G 20% /
none devtmpfs 1.6G 349k 1.6G 1% /dev
none tmpfs 1.6G 5.9M 1.6G 1% /dev/shm
none tmpfs 1.6G 218k 1.6G 1% /var/run
none tmpfs 1.6G 0 1.6G 0% /var/lock
/dev/sdb2 fuseblk 258G 198G 60G 77% /media/Backup
/dev/sda1 fuseblk 321G 175G 146G 55% /media/Media
/dev/sdb1 ext4 96M 84M 6.7M 93% /boot
/dev/sdb7 ext4 175G 81G 86G 49% /home
Here's the output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-2.6.35-22-generic
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 107MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 282211 files and directories currently installed.)
Removing linux-image-2.6.35-22-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.35-22-generic /boot/vmlinuz-2.6.35-22-generic
/etc/default/grub: 23: Syntax error: newline unexpected
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.35-22- generic.postrm line 328.
dpkg: error processing linux-image-2.6.35-22-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-2.6.35-22-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)