Re: [CentOS] yum remove -- 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 |

Re: [CentOS] yum remove -- 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 kerne

Re: [CentOS] yum remove -- 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 i

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

2008-07-16 Thread Peter Kjellstrom
On Wednesday 16 July 2008, fred smith wrote: ... > Yum has come > up with a list of 71 packages it wants to remove, even though there > were only 33 kernel-related RPMs in the list. this doesn't seem right > to me, You told it to remove kernel-utils... You want to keep that one. /Peter signatur

Re: [CentOS] yum remove -- 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 remo

Re: [CentOS] yum remove -- 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 rem

[CentOS] yum remove -- 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, e