not able to purge a kernel
I am getting this output, please take a look at the last few lines, there is the problem.
thanks
*****************************************************************
debian:/boot# apt-get --purge remove linux-image-2.6.16.1
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED
linux-image-2.6.16.1*
0 upgraded, 0 newly installed, 1 to remove and 14 not upgraded.
Need to get 0B of archives.
After unpacking 44.8MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 85371 files and directories currently installed.)
Removing linux-image-2.6.16.1 ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.15-1-686
Updating
/boot/grub/menu.lst ... done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
Unless you used the optional flag in lilo,
you may need to re-run your boot loader[lilo]
Purging configuration files for linux-image-2.6.16.1 ...
Running postrm hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.15-1-686
Updating /boot/grub/menu.lst ... done
dpkg: error processing linux-image-2.6.16.1 (--purge):
subprocess post-removal script returned error exit status 128
Errors were encountered while processing:
linux-image-2.6.16.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:/boot#
******************************************************************8
Get your email and more, right on the new Yahoo.com
Reply to: