Artix Linux Forum

Artix Linux => Package management => Topic started by: z3rOR0ne on 04 November 2024, 15:49:26

Title: nvidia dkms throws an error during remove hook
Post by: z3rOR0ne on 04 November 2024, 15:49:26
During my last couple updates, I've found this output during the standard pacman -Syu:

Code: [Select]
[2024-11-03T01:13:34-0800] [PACMAN] Running 'pacman -Syu'
[2024-11-03T01:13:34-0800] [PACMAN] synchronizing package lists
[2024-11-03T01:13:50-0800] [PACMAN] starting full system upgrade
[2024-11-03T01:16:45-0800] [ALPM] running '60-mkinitcpio-remove.hook'...
[2024-11-03T01:16:46-0800] [ALPM] running '71-dkms-remove.hook'...
[2024-11-03T01:16:46-0800] [ALPM-SCRIPTLET]
[2024-11-03T01:16:46-0800] [ALPM-SCRIPTLET] Error! nvidia/495.46: Missing the module source directory or the symbo
[2024-11-03T01:16:46-0800] [ALPM-SCRIPTLET] Manual intervention is required!
[2024-11-03T01:16:47-0800] [ALPM-SCRIPTLET] ==> dkms remove --no-depmod nvidia/565.57.01 -k 6.11.3-zen1-1-zen
[2024-11-03T01:16:47-0800] [ALPM-SCRIPTLET]
[2024-11-03T01:16:47-0800] [ALPM-SCRIPTLET] Error! nvidia/495.46: Missing the module source directory or the symbo
[2024-11-03T01:16:47-0800] [ALPM-SCRIPTLET] Manual intervention is required!

I'm not exactly sure what the solution would be here. In my use of locate with grep to find reference to this nvidia version, it indeed gives a decent amount of output. Specifically this

Code: [Select]
locate 495.46 | grep nvidia

Outputs a large amount of output from my file system, mainly within /var/lib/dkms/nvidia/

Right now, there's no noticeable problem with my computer, but I don't like to leave errors like this gone unchecked. Any help in troubleshooting this issue would be much appreciated. Thanks in advance!