Guillermo Garron spake the following on 8/28/2006 11:47 AM:
Lazy? ;-)) When he first posted it, I did a "man ...". The answer is there!
But you have to install it before you have the man entry. And it leaves info for others. And yes, maybe a little bit lazy... O:-)
And now that I tried it, it didn't remove the smp kernels, so I had to do it manually. And I don't see anything in the man page about that.
Bazooka Joe fastfish@gmail.com from the Fedora forum wrote this a few days ago.
<start qoutation> 1) "uname -r" to tell you what kernel you are running.
"rpm -qa | grep kernel"
"rpm -e" all the kernel-XXX and kernel-devel-XXX kernels you want to
delete. I recommend keeping your last two kernels.
- In addition, you might want to do the following:
rpm -e `rpm -qa | grep kernel | grep -v smp`
That will remove all kernel and kernel-devel stuff that is not smp. ____ <end of qoutation> regards,
Guillermo.
That is basically what I did to clean it up. A few of the machines were freshly installed a few weeks ago, so they had several kernels on them. I just got too busy to clean up. I just wonder if there is a flaw in the package-cleanup script. If I was any good at python, I would think it is just missing the smp kernels.