Bug 1190394 - kernel-headers package does not install kernel headers
Summary: kernel-headers package does not install kernel headers
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 21
Hardware: x86_64
OS: Other
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-07 22:25 UTC by Jeffrey Walton
Modified: 2015-02-10 16:01 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-10 16:01:30 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jeffrey Walton 2015-02-07 22:25:37 UTC
Description of problem:

    The kernel-headers package does not install the kernel headers.

Version-Release number of selected component (if applicable):

    3.18.5-201.fc21.x86_64


How reproducible:

    Always (at least for this particular issue)

    sudo yum install kernel-headers-`uname -r`


Actual results:

    sudo yum install kernel-headers-`uname -r`
    Package kernel-headers-3.18.5-201.fc21.x86_64 already installed and latest version

    But:

    $ ls /usr/src/
    debug  kernels
    $ ls /usr/src/kernels/
    $

Expected results:

    I expected kernel headers to be located at /usr/src/kernels/

Additional info:

    VMware install

Comment 1 Jeffrey Walton 2015-02-07 22:45:25 UTC
My apologies for the 'kernel' component if its wrong. The only kernel-headers package I could find listed was arm-kernel-headers, and I'm fairly certain that's wrong. In the absence of other kernel-header packages, I used the vanilla 'kernel' component.

Comment 2 Josh Boyer 2015-02-10 16:01:30 UTC
kernel-headers doesn't install to /usr/src/.  It installs to /usr/include/.  You can see this by running `rpm -ql kernel-headers`.  It is a system-wide package used for building other things (like glibc/gcc) against the userspace sanitized headers exported by the Linux kernel buildsystem.

You may be looking for the kernel-devel package instead.


Note You need to log in before you can comment on or make changes to this bug.