Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm installing dahdi on my Fedora 15 machine and when I try to build, I receive the following error

You do not appear to have the sources for the kernel installed.

The problem is, I cannot find that kernel source anywhere! yum provides kernel-devel* gives me a couple of kernel versions older and newer than this version. Does anybody know what the repository is for this kernel? Thanks

share|improve this question

You neither need nor want the kernel source. Install the appropriate kernel-devel package (upgrading the current kernel first if required) and try building again.

share|improve this answer
Sorry I wasn't very clear, the kernel-devel package does not seem to exist.. – tkcsam Feb 21 '12 at 23:01
It's definitely in the repos. – Ignacio Vazquez-Abrams Feb 21 '12 at 23:05
How did you find it? yum provides kernel-devel* does not return it. Thanks – tkcsam Feb 21 '12 at 23:09
We use list to find packages by name, rather than provides. And don't forget to escape the wildcard. – Ignacio Vazquez-Abrams Feb 21 '12 at 23:19
[root@asterisk ~]# yum list available 'kernel-devel' Error: No matching Packages to list – tkcsam Feb 22 '12 at 13:13

Perhaps the mirror you were using (or yum had selected) was incomplete? I see your kernel-devel package here:

To get it manually (may use "curl" instead of "wget"):

rpm -U kernel-devel-
rm kernel-devel- -fv
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.