I forgot what I need to uninstall to clear these errors - need help

(3/3) Remove DKMS modules

Error! nvidia/565.57.01: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!

Error! nvidia/565.77: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!

Error! nvidia/570.124.04: Missing the module source directory or the symbolic link pointing to it.
Manual intervention is required!

On my system I am using the nvidia 580 from the aur

more context prior to this partial message is probably needed

… this message was the result of which command?

3 Likes

DKMS driver modules require the kernel headers for the kernel(s) they are to be used with. So perhaps you had already removed the kernel headers packages?

In order to be sure, you’ll have to tell us what command you used that spawned these error messages. :man_shrugging:

1 Like

Kernel update running just before this error:

Packages (2) linux612-6.12.70-1  linux612-headers-6.12.70-1

Total Download Size:   174.89 MiB
Total Installed Size:  283.35 MiB
Net Upgrade Size:        0.13 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 linux612-6.12.70-1-x86_64                                     139.7 MiB  13.3 MiB/s 00:11 [----------------------------------------------------] 100%
 linux612-headers-6.12.70-1-x86_64                              35.2 MiB   934 KiB/s 00:39 [----------------------------------------------------] 100%
 Total (2/2)                                                   174.9 MiB  4.52 MiB/s 00:39 [----------------------------------------------------] 100%
(2/2) checking keys in keyring                                                             [----------------------------------------------------] 100%
(2/2) checking package integrity                                                           [----------------------------------------------------] 100%
(2/2) loading package files                                                                [----------------------------------------------------] 100%
(2/2) checking for file conflicts                                                          [----------------------------------------------------] 100%
(2/2) checking available disk space                                                        [----------------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/3) Saving Linux kernel modules...
(2/3) Removing linux initcpios...
(3/3) Remove DKMS modules

I would try removing nvidia-dkms without checking dependencies. :backhand_index_pointing_down:

sudo pacman -Rdd nvidia-dkms
[demo@Manjaro ~]$ sudo pacman -Rdd nvidia-dkms
error: target not found: nvidia-dkms

Well, which Nvidia packages do you have installed, then? :backhand_index_pointing_down:

pacman -Qn | grep -i nvidia

If the list is too long to easily copy and paste directly from the terminal, then you can redirect that into a file. :backhand_index_pointing_down:

pacman -Qn | grep -i nvidia > nvidiapkgs.txt

… and then you can open that in an editor and copy/paste from there.

1 Like
[demo@Manjaro RustDesk-AppImage-Enhanced]$ pacman -Qn | grep -i nvidia
linux-firmware-nvidia 20260110-1
nvidia-580xx-dkms 580.126.09-2
nvidia-580xx-settings 580.126.09-1
nvidia-580xx-utils 580.126.09-2
nvidia-prime 1.0-5

I thought you said you installed the Nvidia driver from the AUR? The command I gave you only checks for packages from the repository. :face_with_raised_eyebrow:

9 aur/nvidia-580xx-dkms 580.126.09-2 (+55 24.45) (Installed)
    NVIDIA kernel modules - module sources (580xx)
8 aur/nvidia-580xx-utils 580.126.09-2 (+55 24.45) (Installed)
    NVIDIA drivers utilities (580xx)

Where does that output come from?

yay 580

Just because you installed something through yay does not mean it comes from the AUR. yay is only a wrapper around pacman.

The output of the pacman command I gave you clearly shows that those Nvidia packages are from the repository.

1 Like

Looks like there are files here I need to remove:

[demo@Manjaro ~]$ cd /var/lib/dkms
[demo@Manjaro dkms]$ ls
mok.key  mok.pub  nvidia  vboxhost
[demo@Manjaro dkms]$ cd nvidia
[demo@Manjaro nvidia]$ ls
565.57.01  570.124.04  kernel-6.11.1-1-MANJARO-x86_64   kernel-6.12.1-4-MANJARO-x86_64   kernel-6.13.4-1-MANJARO-x86_64
565.77     580.126.09  kernel-6.12.10-1-MANJARO-x86_64  kernel-6.12.70-1-MANJARO-x86_64  original_module

Hi @MAYBL8 ,
I wonder whether you could read this post in the last stable update about your nvidia driver, in order to solve your problem.
[Stable Update] 2026-02-01 - Kernels, COSMIC, Plasma, GNOME, Mesa - #2 by discobot
There is an answer for this In the 2025-12-15 Known issues and solution section.

Hope it help,
Regards,

1 Like

my driver is loaded:

[demo@Manjaro ~]$ inxi -G
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GP108M [GeForce MX250] driver: nvidia v: 580.126.09
  Device-3: Chicony HP Wide Vision FHD Camera driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.21 with: Xwayland v: 24.1.9 driver: X:
    loaded: modesetting,nvidia dri: iris gpu: i915 resolution: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.126.09
    renderer: NVIDIA GeForce MX250/PCIe/SSE2
  API: Vulkan v: 1.4.341 drivers: nvidia,intel surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr

and I am on version 580.126.09 and am not noticing any flickering

You need to clean out all of this… :backhand_index_pointing_down:

565.57.01 
565.77
570.124.04
kernel-6.11.1-1-MANJARO-x86_64
kernel-6.12.1-4-MANJARO-x86_64   
kernel-6.12.10-1-MANJARO-x86_64
kernel-6.13.4-1-MANJARO-x86_64
1 Like

That’s the answer I was looking for.
Done thanks.
I knew I had done this before but didn’t remember where the files were I needed to clean up.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.