You are not logged in.
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
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
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
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
Okay, sorry, Jesus. Consider this solved. I searched for this problem before asking but I couldn't find anything.
Offline
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
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
I have linux-headers-4.4.5-1 ! So smart
I didn't find how to install it but i will try harder.
Offline
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.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
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
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