Reputation:
I run this command:
sudo dkms autoinstall -k 3.11.6-1-ARCH
and have error:
Error! echo
Your kernel headers for kernel 3.11.6-1-ARCH cannot be found at
/usr/lib/modules/3.11.6-1-ARCH/build or /usr/lib/modules/3.11.6-1-ARCH/source.
Error! echo
Your kernel headers for kernel 3.11.6-1-ARCH cannot be found at
/usr/lib/modules/3.11.6-1-ARCH/build or /usr/lib/modules/3.11.6-1-ARCH/source.
what should I do?
Upvotes: 1
Views: 8032
Reputation: 331
Do you actually have kernel headers for the stock repo kernel installed? They're not installed by default, so unless you explicitly did, you probably don't. Try running:
pacman -Sy linux-headers
and see what happens.
Also, does the kernel version you have match with what you're trying to run against it? If the above doesn't fix the problem, please post the output of
uname -a
Upvotes: 7