You are not logged in.

#1 2016-03-21 00:28:04

HappyClown
Member
Registered: 2015-08-15
Posts: 161

[SOLVED] "No kernel lts headers. You must install them to use DKMS!"

I was just doing an update when, at the end of the output of pacman, I get:

:: Running post-transaction hooks...
(1/1) Install DKMS modules
==> No kernel 4.1.20-1-lts headers. You must install them to use DKMS!
==> No kernel 4.1.20-1-lts headers. You must install them to use DKMS!
==> dkms -q install -m vboxhost -v 5.0.16_OSE -k 4.4.5-1-ARCH

Note that the LTS kernel was updated but not the regular one. Why am I getting this message? I do have virtualbox, steam and xboxdrv installed on my system, if that's related (I think virtualbox may be the issue). I don't think I have any sort of DKMS package installed on my system. Any ideas?

Last edited by HappyClown (2016-03-23 04:14:05)

Offline

#2 2016-03-21 00:31:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,447
Website

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

virtualbox uses dkms.  This is a somewhat recent change - but it's been covered to death in the forums.

The pacman output gives you the solution: follow it.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2016-03-22 01:04:31

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

This wont install DKMS headers, would it? I'd rather not have a bunch of weird kernel files floating around without pacmans supervision. I'd like a bit more information on what that command actually does.

Offline

#4 2016-03-22 01:17:39

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

That is 2 messages that dkms wasn't run because the lts headers were missing, plus one command that was echoed + run to install a kernel module using dkms (for the stock kernel, which DOES have headers installed).
Yes, dkms means your virtualbox binary kernel modules are floating around without pacman's supervision -- that is the point of dkms.

...

In other words, more of what has been discussed to death already?


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2016-03-23 04:13:33

HappyClown
Member
Registered: 2015-08-15
Posts: 161

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

Okay, sorry, Jesus. Consider this solved. I searched for this problem before asking but I couldn't find anything.

Offline

#6 2016-03-30 16:51:59

Purgator
Member
Registered: 2016-03-02
Posts: 102

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

I just installed virtual box and got this message :

==> No kernel 4.4.1-2-ARCH headers. You must install them to use DKMS!

But  there is not ===> dkms -q install -m vboxhost -v 5.0.16_OSE -k 4.4.5-1-ARCH

I don't know exactly what to do while i don't 100% understand this command.

I think its too easy to deal with

pacman -S linux-headers

I probably have to do both, then i did the pacman install first.

i got this output :
==> No kernel 4.4.5-1-ARCH modules. You must install them to use DKMS!

Here i have to install modules like this

dkms install vboxhost-5.0.16_OSE -k 4.4.1-2-ARCH/x86_64

It answered that

Creating symlink /var/lib/dkms/vboxhost/5.0.16_OSE/source ->
                 /usr/src/vboxhost-5.0.16_OSE

DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.4.1-2-ARCH cannot be found at
/usr/lib/modules/4.4.1-2-ARCH/build or /usr/lib/modules/4.4.1-2-ARCH/source.
[purgator@legendance ~]$ ls /usr/lib/modules/4.4.1-2-ARCH/build/
vmlinux

I know that it marked as solved but while it's the same "issue" i think it make sense to answer here.

What i did wrong here please ?

Offline

#7 2016-03-30 17:45:32

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

What version of linux{,-headers} do you actually have -- 4.4.1-2 or 4.4.5-1


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#8 2016-03-31 10:20:41

Purgator
Member
Registered: 2016-03-02
Posts: 102

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

I have linux-headers-4.4.5-1 ! So smart tongue
I didn't find how to install it but i will try harder.

Offline

#9 2016-03-31 13:44:57

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

Well, it sounds like you did a partial upgrade -- how else do you have an old linux 4.4.1-2 package installed but installing linux-headers got you the new linux-headers 4.4.5-1 package. wink

https://wiki.archlinux.org/index.php/Sy … nsupported


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#10 2016-04-04 14:07:08

Purgator
Member
Registered: 2016-03-02
Posts: 102

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

Ok i understood but i don't get how i did that partial upgrade.

Then i runned

pacman -Syu

Dunno what to do now. Should i update my kernel ? I'm currently on 4.4.1-2 (like headers).

Offline

#11 2016-11-10 14:37:17

natedennis
Member
Registered: 2016-11-10
Posts: 4

Re: [SOLVED] "No kernel lts headers. You must install them to use DKMS!"

the partial update... had the same thing just happen to me. im about 90% it is caused by taking a kernel update. not restarting and while still running on the old kernel,, taking a second kernel update.

Offline

Board footer

Powered by FluxBB