The headers for the current kernel were not found.
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The headers for the current kernel were not found.
Hey all, I just installed Kali Linux in VirtualBox and now I'm trying to install the Guest Additions but I get this error message every time I try to do the install:
Code:
The headers for the current running kernel were not
found. If the following module compilation fails then
this could be the reason.
The following module fails too. I've installed the correct linux-headers for my version but it still won't work and Googling this just tells me to install the linux-headers. Any ideas?
...
p linux-headers-3.14-2-common - Common header files for Linux 3.14-2
p linux-headers-3.14-2-common:i386 - Common header files for Linux 3.14-2
p linux-headers-3.14-2-common-rt - Common header files for Linux 3.14-2-rt
p linux-headers-3.14-2-common-rt:i386 - Common header files for Linux 3.14-2-rt
p linux-headers-3.14-2-rt-686-pae:i386 - Header files for Linux 3.14-2-rt-686-pae
p linux-headers-3.14-2-rt-amd64 - Header files for Linux 3.14-2-rt-amd64
i A linux-headers-3.15-6.dmz.2-liquorix-amd64 - Header files for Linux 3.15-6.dmz.2-liquorix-amd64
p linux-headers-3.15-8.dmz.1-liquorix-686:i3 - Header files for Linux 3.15-8.dmz.1-liquorix-686
i A linux-headers-3.15-8.dmz.1-liquorix-amd64 - Header files for Linux 3.15-8.dmz.1-liquorix-amd64
p linux-headers-486:i386 - Header files for Linux 486 configuration (meta-packa
p linux-headers-686-pae:i386 - Header files for Linux 686-pae configuration (meta-p
p linux-headers-amd64
...
You can clearly see that I have two linux-headers packages installed: linux-headers-3.15-6.dmz.2-liquorix-amd64 and linux-headers-3.15-8.dmz.1-liquorix-amd64. (I keep two kernels as a safety precaution in case the more recent kernel has problems.
jdk
Hey all, per my initial post I've already installed the headers. Here's my proof:
Code:
root@kali:~# aptitude search linux-headers
p linux-headers-3.14-kali1-all - All header files for Linux 3.14 (meta-pack
p linux-headers-3.14-kali1-all-am - All header files for Linux 3.14 (meta-pack
i linux-headers-3.14-kali1-amd64 - Header files for Linux 3.14-kali1-amd64
i A linux-headers-3.14-kali1-common - Common header files for Linux 3.14-kali1
p linux-headers-3.14-kali1-common - Common header files for Linux 3.14-kali1-r
p linux-headers-3.14-kali1-rt-amd - Header files for Linux 3.14-kali1-rt-amd64
i linux-headers-amd64 - Header files for Linux amd64 configuration
p linux-headers-rt-amd64 - Header files for Linux rt-amd64 configurat
root@kali:~#
Is there a kernel header out there somewhere that I need?
Hi EDDY1, that was a nice catch -- I checked and there aren't any 3.14.5 header options even after running your three apt-get commands. I'll head back to the Kali web site and see if I can find any answers there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.