[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removal of not used kernel



On Sat, Oct 23, 2004 at 12:08:32PM +0200, Vegard Lundby Rekaa wrote:
> I'm going to change from kernel 2.6.8 to 2.6.7, but I've heard that the
> old kernel will still be on my computer after I've installed 2.6.7 with
> this command:
> 
> # apt-get install kernel-image-2.6.7-1-386
> # shutdown -t1 -r now
> 
> I don't plan on ever returning to kernel 2.6.8, can I remove it?

# dpkg -P kernel-image-2.6.8-*

You will need some creativity for "*" though, I used it as wildcard
but that does not work to remove packages in dpkg afaik, and if it does
it's not very safe to use.  You can look what you have to type with:

# dpkg -l "kernel-image-*"

This should show all installed kernels, just pick the right one to
remove.  If you can't see the full `Name' with this, make your xterm a
bit bigger.

> OS: Debian Sarge
> 
> Vegard
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-testing-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Debian GNU/Linux -- The power of freedom
www.debian.org | www.gnu.org | www.kernel.org



Reply to: