Reinstall script for Nvidia GPU driver fails because of Steam

I wanted to reinstall my nvidia driver through the settings, and got this error.

Starting
> Removing video-nvidia-dkms...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-nvidia-dkms/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing lib32-nvidia-utils breaks dependency 'lib32-vulkan-driver' required by steam
:: removing lib32-nvidia-utils breaks dependency 'lib32-vulkan-driver' required by steam-native-runtime
Error: pacman failed!
Error: script failed!


Done ...

Do I have to uninstall Steam? Or is there a workaround?

There are automatically updated.
'sudo pacman -Syu'
You want changes or upgrades?

mhwd -li
inxi -Fxxxza
3 Likes

Oh my that is a mistake on my part, I meant to write reinstall.

(bitwarden added a password from another service to the password field on privatebin on the previous link!)
https://bin.garudalinux.org/?88dcd314173b958e#9cKUQiMjR1RetxrMb8A69XcUCeYSbaKzACkDgmryyhcn

Up to 32000 chars you can post here in forum.
If you include terminal outputs in your post please use the proper output format in your post. Using "~" 3 times above and "~" 3 times below the text block will provide a readable, raw look.

IIRC you use latest driver.
So, if really needed you have to solve the dependencies.
Hope its not more then uninstall steam.
If you like, answer, why? :slight_smile:

2 Likes
[email protected] in ~
 λ sudo pacman -S steam
[dragon] empower nico:
resolving dependencies...
:: There are 2 providers available for lib32-libgl:
:: Repository multilib
   1) lib32-libglvnd
:: Repository chaotic-aur
   2) lib32-amdgpu-pro-libgl

Enter a number (default=1):
:: There are 10 providers available for lib32-vulkan-driver:
:: Repository multilib
   1) lib32-amdvlk  2) lib32-nvidia-utils  3) lib32-vulkan-intel  4) lib32-vulkan-radeon
:: Repository chaotic-aur
   5) lib32-mesa-tkg-git  6) lib32-nvidia-390xx-utils  7) lib32-vulkan-amdgpu-pro
   8) lib32-vulkan-intel-git  9) lib32-vulkan-radeon-git  10) zdummy-vlkdrv

Steam requires lib32-vulkan-driver which is why the lib32-nvidia-utils cant be removed.
A workaround would be to remove steam & steam-native runtime to reinstall the driver and simply reinstall them afterwards.

2 Likes