Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] nvidia-dkms 538.98-1 installation error (Read 473 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] nvidia-dkms 538.98-1 installation error

Dear Artixers,

Recently tried to install
Code: [Select]
nvidia-dkms 535.98-1
and I got an error regarding linux-headers.

Code: [Select]
:: Executando hooks pós-transação...
(1/1) Install DKMS modules
==> dkms install --no-depmod nvidia/535.98 -k 6.4.10-artix1-1
==> depmod 6.4.10-artix1-1
==> ERROR: Missing 5.16.14-artix1-1 kernel headers for module nvidia/535.98.

the missing 5.16.14-artix1-1 are old, currently I have 6.4.10-artix1-1 kernel headers so I don't understand where this is coming from.

Thank for your support

Re: nvidia-dkms 538.98-1 installation error

Reply #1
Check which kernel is running with
Code: [Select]
uname -a

If it is Linux Artix 6.4.10-artix1-1 look under /usr/lib/modules/ and see if there's still a directory "5.16.14-artix1-1"

If there is try moving it somewhere (I'm not suggesting deleting it so if moving it causes you problems you can restore it. If all is well then you can delete it.) then try to install nvidia-dkms again.

That's my best guess!

Re: nvidia-dkms 538.98-1 installation error

Reply #2
Thanks! That was it. I didn't know I had to manually clean /usr/lib/modules from time to time