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

Robert Locke lists at ralii.com
Sat May 13 01:04:27 UTC 2006


On Fri, 2006-05-12 at 17:47 -0700, 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

I believe that the problem is related to you running only the SMP
kernels.  So the correct rpm command would probably be:

rpm -q kernel-smp

but I might prefer to:

rpm -qa | grep kernel

HTH,

--Rob




More information about the users mailing list