Skip to main content
Topic: Trouble installing nvidia-470xx-dkms, is this package outdated? (Read 342 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Trouble installing nvidia-470xx-dkms, is this package outdated?

Hi,

Installing the nvidia-470xx-dkms package returns an error on my system saying ERROR: Missing 5.16.1-artix1-1 kernel headers. My assumption is that the package is out of date, since I do have the kernel headers installed and my kernel itself is of a later version than the one mentioned in the error:
Code: [Select]
 > pacman -Qs linux-headers
local/linux-headers 6.5.2.artix1-1
    Headers and scripts for building modules for the Linux kernel

Can anyone confirm my suspicion and give advice on what action to take?

Cheers!

Re: Trouble installing nvidia-470xx-dkms, is this package outdated?

Reply #1
nvidia-470xx has been updated

artist

Re: Trouble installing nvidia-470xx-dkms, is this package outdated?

Reply #2
Thanks, I can see that the version was bumped from 470.199.02-1 to 470.199.02-4, but dkms install still aborts with the same error message about not finding the 5.16 kernel headers. Could it be that the new version is still not up to date with the 6.5 kernel?

Re: Trouble installing nvidia-470xx-dkms, is this package outdated?

Reply #3
Quote
.. since I do have the kernel headers installed and my kernel itself is of a later version than the one mentioned in the error: ..

Maybe some old files from the old kernel lying around and were not removed ? Maybe in /usr/lib/modules ..

[SOLVED] Trouble installing nvidia-470xx-dkms, is this package outdated?

Reply #4
Quote
Maybe some old files from the old kernel lying around and were not removed ? Maybe in /usr/lib/modules ..
You were right, thanks so much for that suggestion! My /usr/lib/modules/ seems to contain leftover bits and pieces from several old kernel versions:
Code: [Select]
 > ls /usr/lib/modules
5.14.2-artix1-2  5.16.1-artix1-1  6.0.12-artix1-1  6.1.4-artix1-1  6.5.2-artix1-1
The 5.16.1 folder contains build scripts and after moving them out of there the dkms install completed successfully. The other old folders contain .ko files (some compressed) and (according to pacman -Qo) they are not owned by any package. My assumption is that it is harmless (in general) to remove these old folders, would you say that that is correct?

In any case, thanks a lot!