"installing nvidia-utils (535.86.05-2) breaks dependency 'nvidia-utils=535.54.03' required by lib32-nvidia-utils" error when trying to update the system

error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-utils (535.86.05-2) breaks dependency 'nvidia-utils=535.54.03' required by lib32-nvidia-utils
 -> error installing repo packages
error installing repo packages

Hello, since sometime in July, I have been getting this error when attempting a system update.
I have tried finding a fix for this myself, but so far I have failed to do so and at this point a bunch of important system packages need updating so I decided to ask for help here.
According to threads regarding similar issues, this may be kernel related and could be resolved by switching to a different kernel, I have read that this is easily doable on EOS using AKM, however trying to install AKM: sudo pacman -S akm results in error: target not found: akm, and I am not that advanced a user to try to switch the kernel myself.

My kernel is 6.4.3-arch1-2 (64-bit), I’m using an Nvidia RTX 3060 Laptop GPU and am on X11, if any of this info is relevant.

Thank you for reading.

This has nothing to do with the kernel and you shouldn’t need to mess with it. The problem is that the version of nvidia-utils and lib32-nvidia-utils seems to be out of sync for some reason. There is a version mismatch 535.86.05 vs 535.54.03.

The first thing that I would try would be updating your mirrors and then do a full system update sudo pacman -Syu.

I would (if updating mirrors does not work):

yay nvidia | grep installed

To see what is installed, then

sudo pacman -Rdd <dodgy-package>
sudo pacman -S <replacement-for-dodgy-package>

Obviously not rebooting until finished. These are the 535 series I have:

28 multilib/lib32-nvidia-utils 535.86.05-1 (46.1 MiB 206.7 MiB) (Installed)
15 extra/libxnvctrl 535.86.05-1 (76.4 KiB 456.9 KiB) (Installed)
9 extra/nvidia-settings 535.86.05-1 (767.0 KiB 1.6 MiB) (Installed)
5 extra/nvidia-utils 535.86.05-2 (260.8 MiB 670.8 MiB) (Installed)
2 extra/nvidia-dkms 535.86.05-2 (42.9 MiB 69.9 MiB) (Installed)

As a guide.

Thanks for your reply! I have done this already and it didn’t fix the issue unfortunately.

Thank you, I was able to resolve the problem with your advice!

1 Like

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