LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How to remove this old kernel? (https://www.linuxquestions.org/questions/debian-26/how-to-remove-this-old-kernel-434136/)

halo14 04-11-2006 12:04 PM

How to remove this old kernel?
 
I want to use sarge with 2.4 on this server... i tried a 2.6 but don't like it..

dpkg -l | grep kernel-image shows me the 2.4's that i want, but it also has kernel-image-2 2.6.8-16sarge2 how do i remove it?? i can't get anything to work with apt-get remove or dpkg -P

pljvaldez 04-11-2006 12:19 PM

http://www.debian.org/doc/FAQ/ch-kernel.en.html

halo14 04-11-2006 01:17 PM

that doesn't help at all... I have tried those.. and it keeps telling me it's not installed...

Code:

RHANIX01:~# dpkg -l| grep kernel-image
ii  kernel-image-2 101sarge1      Linux kernel image for version 2.4 on PPro/C
ii  kernel-image-2 2.4.27-10sarge Linux kernel image for version 2.4.27 on 386
ii  kernel-image-2 2.4.27-10sarge Linux kernel image for version 2.4.27 on PPr
ii  kernel-image-2 2.6.8-16sarge2 Linux kernel image for version 2.6.8 on PPro
RHANIX01:~# dpkg --purge --force-remove-essential kernel-image-2.6.8
dpkg - warning: ignoring request to remove kernel-image-2.6.8 which isn't installed.
RHANIX01:~# dpkg --purge --force-remove-essential kernel-image-2.6.8-16sarge2
dpkg - warning: ignoring request to remove kernel-image-2.6.8-16sarge2 which isn't installed.
RHANIX01:~# dpkg --purge --force-remove-essential kernel-image-2.6
dpkg - warning: ignoring request to remove kernel-image-2.6 which isn't installed.
RHANIX01:~# dpkg --purge --force-remove-essential kernel-image-26
dpkg - warning: ignoring request to remove kernel-image-26 which isn't installed.
RHANIX01:~# dpkg --purge --force-remove-essential kernel-image-268
dpkg - warning: ignoring request to remove kernel-image-268 which isn't installed.

I don't know what it wants me to call this kernel to remove it.

Acron_0248 04-11-2006 01:31 PM

Did you try just using:
Code:

apt-get --purge kernel-image-2 2.6.8-16sarge2
Reegards


Bye

halo14 04-11-2006 02:32 PM

Code:

RHANIX01:~# apt-get remove --purge kernel-image-2 2.6.8-16sarge2
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kernel-image-2
RHANIX01:~#


macondo 04-11-2006 07:55 PM

Have you tried installing debfoster?

When it asks you if you want to keep the 2.6 kernel, type 'P' for purge.

Make sure you're on the 2.4 kernel when you do this.

halo14 04-12-2006 07:31 AM

Quote:

Originally Posted by macondo
Have you tried installing debfoster?

When it asks you if you want to keep the 2.6 kernel, type 'P' for purge.

Make sure you're on the 2.4 kernel when you do this.

Ha... that worked.. thanks a lot macondo :)


All times are GMT -5. The time now is 04:07 AM.