Why can't display all installed kernel with rpm -q

Tony Nelson tonynelson at georgeanelson.com
Sat May 13 01:42:08 UTC 2006


At 9:12 AM +0800 5/13/06, Ed Greshko wrote:
>Tony Nelson wrote:
>> At 8:50 AM +0800 5/13/06, Ed Greshko wrote:
>>> Barry Yu wrote:
>>>> The system is with a 3 GHZ p4 cpu, and installed kernel
>>>> 2.6.15-1.2054_FC5smp, updated to 2.6.16-1.2111_FC5smp, when I issued
>>>> command rpm -q kernel try to list all  the installed kernels, I got
>>>> displayed "package kernel is not installed", do I miss  any thing? How
>>>> to use rpm command to display all installed kernels?
>>>> thks
>>> You can be lazy like I am....
>>>
>>> rpm -qa | grep kernel
>>
>> "rpm -q kernel" works for me, showing 4 kernels.
>
>Right.  But, as Rob pointed out, the OP is running the smp kernel.  I
>tend to do the grep thingy to remind myself of having the devel packages
>loaded as well as other self built kernels.

Right, sorry, didn't think it through, crossed in the mail.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list