Re: [CentOS] yum remove old kernel pkgs -- wants to remove a ton of stuff

2008-07-17 Thread David Hrbáč
fred smith napsal(a): Thanks to Johnny and all the others who pointed out the stupid thing I was trying to do. I'll follow the advice to clean up 'list' before trying it again. Fred, besides you can use installonlyn plugin, you can remove old kernel but few like this: if [ $(rpm -q kernel

[CentOS] yum remove old kernel pkgs -- wants to remove a ton of stuff

2008-07-16 Thread fred smith
I've got a Centos 4 box at work, where I noticed a pile of old kernels lying around and no longer needed. I did rpm -qa | grep -y kernel list then edited the list to remove from it the newer kernels, then yum remove `cat list`. Yum has come up with a list of 71 packages it wants to remove, even

Re: [CentOS] yum remove old kernel pkgs -- wants to remove a ton of stuff

2008-07-16 Thread Jeff
On Wed, Jul 16, 2008 at 10:55 AM, fred smith [EMAIL PROTECTED] wrote: I've got a Centos 4 box at work, where I noticed a pile of old kernels lying around and no longer needed. I did rpm -qa | grep -y kernel list then edited the list to remove from it the newer kernels, then yum remove `cat

Re: [CentOS] yum remove old kernel pkgs -- wants to remove a ton of stuff

2008-07-16 Thread Stephen John Smoogen
On Wed, Jul 16, 2008 at 9:55 AM, fred smith [EMAIL PROTECTED] wrote: I've got a Centos 4 box at work, where I noticed a pile of old kernels lying around and no longer needed. I did rpm -qa | grep -y kernel list then edited the list to remove from it the newer kernels, then yum remove `cat

Re: [CentOS] yum remove old kernel pkgs -- wants to remove a ton of stuff

2008-07-16 Thread Johnny Hughes
fred smith wrote: I've got a Centos 4 box at work, where I noticed a pile of old kernels lying around and no longer needed. I did rpm -qa | grep -y kernel list then edited the list to remove from it the newer kernels, then yum remove `cat list`. Yum has come up with a list of 71 packages it

Re: [CentOS] yum remove old kernel pkgs -- wants to remove a ton of stuff

2008-07-16 Thread fred smith
On Wed, Jul 16, 2008 at 11:09:36AM -0500, Johnny Hughes wrote: fred smith wrote: I've got a Centos 4 box at work, where I noticed a pile of old kernels lying around and no longer needed. I did rpm -qa | grep -y kernel list then edited the list to remove from it the newer kernels, then yum