Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread Santosh
Satish Eerpini wrote: Guys let me clarify that i wrote this only for kernels which are custom compiled ,... i do agree that package management does all this very neatly and that is the best way to go , . but i am talking about compiling vanilla kernels from source and later on clearing them ,

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread sky knight
> --- On Mon, 10/20/08, Rahul Sundaram wrote: >If you compiled from source, there is no clean way to uninstall it. It won't disturb the >package manager. The package manager just wouldn't be aware of it. It you are building a >custom kernel, I recommend creating a package to do it. Refer

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread sky knight
--- On Mon, 10/20/08, Rahul Sundaram <[EMAIL PROTECTED]> wrote: From: Rahul Sundaram <[EMAIL PROTECTED]> Subject: Re: [Ilugc] A simple script to clean up ( remove ) a kernel To: "ILUG-C" Date: Monday, October 20, 2008, 4:02 PM sky knight wrote: > --- On Mon, 10/20/08, Ra

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread Satish Eerpini
Guys let me clarify that i wrote this only for kernels which are custom compiled ,... i do agree that package management does all this very neatly and that is the best way to go , . but i am talking about compiling vanilla kernels from source and later on clearing them , and to my knowledg

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread sky knight
--- On Mon, 10/20/08, sky knight <[EMAIL PROTECTED]> wrote: From: sky knight <[EMAIL PROTECTED]> Subject: Re: [Ilugc] A simple script to clean up ( remove ) a kernel To: "ILUG-C" Date: Monday, October 20, 2008, 3:59 PM >--- On Mon, 10/20/08, Rahul Sundaram <[EMAI

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread Rahul Sundaram
sky knight wrote: --- On Mon, 10/20/08, Rahul Sundaram wrote: Im using Fedora 9 now, Im using 2.6.26 kernel with some patches applied to it, will it disturb the package manager and if so how can i clear it? --- If you compiled from source, there is no clean way to uninstall it. It won't

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread sky knight
--- On Mon, 10/20/08, Rahul Sundaram <[EMAIL PROTECTED]> wrote: If you install software from source or delete files arbitrarily, the packager manager is suddenly disconnected from this operation and you lose the benefits and get a mismash of files in your system which cannot be managed easily. J

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread Rahul Sundaram
sky knight wrote: --- On Mon, 10/20/08, Rahul Sundaram wrote: From: Rahul Sundaram Subject: Re: [Ilugc] A simple script to clean up ( remove ) a kernel To: "ILUG-C" Date: Monday, October 20, 2008, 2:26 PM>A script to do this manually breaks package management badly and should n

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread sky knight
--- On Mon, 10/20/08, Rahul Sundaram <[EMAIL PROTECTED]> wrote: From: Rahul Sundaram <[EMAIL PROTECTED]> Subject: Re: [Ilugc] A simple script to clean up ( remove ) a kernel To: "ILUG-C" Date: Monday, October 20, 2008, 2:26 PM>A script to do this manually breaks pac

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread Rahul Sundaram
Raja Subramanian wrote: On Mon, Oct 20, 2008 at 10:09 PM, Satish Eerpini <[EMAIL PROTECTED]> wrote: I was removing the old kernel files ... so i wrote this simple script which provided the kernel version removes all the concerned files from the system , ... I have tested this only on Fedora and

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread Kushal Das
On Tue, Oct 21, 2008 at 12:28 AM, Raja Subramanian <[EMAIL PROTECTED]> wrote: > Any specific reason this script should be used instead of "yum remove" > of the obsolete kernel package? AFAIK, rpm will automatically remove > all the associated files, grub entry, etc. Ah, don't ask so difficult ques

Re: [Ilugc] A simple script to clean up ( remove ) a kernel

2008-10-20 Thread Raja Subramanian
On Mon, Oct 20, 2008 at 10:09 PM, Satish Eerpini <[EMAIL PROTECTED]> wrote: > I was removing the old kernel files > ... so i wrote this simple script which > provided the kernel version removes all the concerned files from the > system , ... I have tested this only on Fedora and i am not sure on >