Re: rpm -qa not displaying sources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Chadley Wilson wrote:
> Hi All,
> 
> I must have missed something here.
> 
> I installed my kernel source using rpm -ivh kernel-`uname -r`.el5.src.rpm
> it installs perfectly, without error, but if I cd to the /usr/src/redhat folder, all I get is SOURCES and SPECS...

This is correct - SRPMS install, by default, into /usr/src/redhat - the 
source files go into /usr/src/redhat/SOURCES and the spec files go into 
/usr/src/redhat/SPECS

> rpm -qa | grep kernel
> 
> doesn't return the kernel source rpm I installed only the kernel, devel and headers.  And I can't find the actual kernel source folder....
> thanks

SRPMS are not added to the RPM database

The 'kernel source folder' is /usr/src/redhat/SOURCES

James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux