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

Ed Greshko Ed.Greshko at greshko.com
Sat May 13 01:12:00 UTC 2006


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.



-- 
UH-OH!!  We're out of AUTOMOBILE PARTS and RUBBER GOODS!




More information about the fedora-list mailing list