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

Paul Howarth paul at city-fan.org
Sat May 13 13:30:19 UTC 2006


On Fri, 2006-05-12 at 21:04 -0400, Robert Locke wrote:
> 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

Or even:

$ rpm -qa kernel\*

Paul.





More information about the fedora-list mailing list