You are not logged in.

#1 2022-04-28 15:22:55

Wacky Clown
Member
Registered: 2022-04-28
Posts: 9

[SOLVED] Kernel headers for kernel 5.17.4-arch1-1 cannot be found

I am trying to build DKMS modules for my kernel but when i run  "sudo dkms autoinstall" i get this output:

"Error! Your kernel headers for kernel 5.17.4-arch1-1 cannot be found at /usr/lib/modules/5.17.4-arch1-1/build or /usr/lib/modules/5.17.4-arch1-1/source.
Please install the linux-headers-5.17.4-arch1-1 package or use the --kernelsourcedir option to tell DKMS where it's located."

But then i use the locate command for 5.17.4-arch1-1 and get an output clearly displaying that the kernel headers are located there

Help would be appreciated, Thanks in advance

Last edited by Wacky Clown (2022-04-28 15:43:16)

Offline

#2 2022-04-28 15:27:47

Maniaxx
Member
From: .de
Registered: 2014-05-14
Posts: 629

Re: [SOLVED] Kernel headers for kernel 5.17.4-arch1-1 cannot be found

Update to 5.17.5, restart the system and try again.


sys2064

Offline

#3 2022-04-28 15:39:55

Wacky Clown
Member
Registered: 2022-04-28
Posts: 9

Re: [SOLVED] Kernel headers for kernel 5.17.4-arch1-1 cannot be found

Oh my god, how did i miss this, i just updated, thanks a bunch

Offline

Board footer

Powered by FluxBB