[CentOS] yum remove <old kernel pkgs> -- wants to remove a ton of stuff
David Hrbáč
hrbac.conf at seznam.czThu Jul 17 07:19:09 UTC 2008
- Previous message: [CentOS] yum remove <old kernel pkgs> -- wants to remove a ton of stuff
- Next message: [CentOS] yum remove <old kernel pkgs> -- wants to remove a to n of stuff
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 | 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 etc. David
- Previous message: [CentOS] yum remove <old kernel pkgs> -- wants to remove a ton of stuff
- Next message: [CentOS] yum remove <old kernel pkgs> -- wants to remove a to n of stuff
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list