FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 07-17-2008, 07:19 AM
David Hrbáč
Default yum remove -- wants to remove a ton of stuff

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.

besides you can use installonlyn plugin, you can remove old kernel but
few like this:

if [ $(rpm -q kernel | wc -l) -gt 1 ]; then rpm -e $(rpm -q kernel | sed
'$d'); fi
if [ $(rpm -q kernel-smp | wc -l) -gt 1 ]; then rpm -e $(rpm -q
kernel-smp | sed '$d'); fi


CentOS mailing list

Thread Tools

All times are GMT. The time now is 10:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org