Check this up:
Code:
root@laptop:~# dpkg --get-selections | grep linux-image
linux-image-2.6.15-23-386 install
linux-image-2.6.15-25-386 install
linux-image-2.6.15-26-386 install
linux-image-2.6.15-27-386 install
linux-image-386 install
root@laptop:~# dpkg -P linux-image-2.6.15-23-386
dpkg: dependency problems prevent removal of linux-image-2.6.15-23-386:
linux-restricted-modules-2.6.15-23-386 depends on linux-image-2.6.15-23-386.
dpkg: error processing linux-image-2.6.15-23-386 (--purge):
dependency problems - not removing
Errors were encountered while processing:
linux-image-2.6.15-23-386
It wouldn't let me erase the oldest image!! Where do i go from here?
When i type the 'uname -a' command, i get the following:
Linux laptop 2.6.15-27-386 #1 PREEMPT Sat Sep 16 01:51:59 UTC 2006 i686 GNU/Linux
This is the current image i am using, and it's really stable. I don't need the others, and i suppose they are independent from each other. I guess i can remove the 3 old ones and save a lot of space.
Ok, i will tell you what i did to solve this problem. I grabbed that module that depended on the image, and performed the same command: 'dpkg -P'. Apparently that worked it out because then i could remove the image. I did the same for 23 & 25 kernel images.
I prefer to ask you guys whether it's safe to remove 26 as well since it's the closest to the one i am currently using. Thanks for the help. BTW, the man page on dpkg is quite usefull. I was dazzled with that install property, it says there that install means the package is ready for installation, which in this case it seems they were never installed!!!! And yet i am able to use them.
Wierd things i run into!!!