Parch Linux Wiki

Resolving NVIDIA Driver Version Conflicts (nvidia-utils)

Guide to resolving nvidia-utils and lib32-nvidia-utils dependency version mismatch during Parch Linux updates.

A guide to troubleshooting dependency conflict errors between the 64-bit NVIDIA graphics driver utilities (nvidia-utils) and 32-bit compatibility libraries (lib32-nvidia-utils) during system updates.

1. Symptoms

When running sudo pacman -Syu, the package manager fails with a dependency conflict:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing nvidia-utils (560.35.03-1) breaks dependency 'nvidia-utils=555.58.02' required by lib32-nvidia-utils

Or conversely:

:: installing lib32-nvidia-utils (560.35.03-1) breaks dependency 'nvidia-utils=560.35.03' required by nvidia-utils

2. Root Cause

In Arch-based distributions like Parch Linux:

Both packages must maintain strictly matching version numbers. If mirror synchronization is slightly staggered between extra and multilib, or if only one repository was updated in local cache, this version mismatch halts the upgrade transaction.


3. Resolution Strategies

Solution 1: Force Database Refresh and Upgrade Both Packages Concurrently

In most cases, the corresponding 32-bit package exists on upstream mirrors but has not yet populated your local cache. Force a database refresh and explicitly request both packages together:

sudo pacman -Syy
sudo pacman -S nvidia-utils lib32-nvidia-utils

After updating these packages, proceed with normal system upgrade:

sudo pacman -Syu

Solution 2: Verify Package Versions Across Repositories

Check which versions your configured mirrors currently provide:

pacman -Si nvidia-utils lib32-nvidia-utils | grep -E "Name|Version"

If the versions listed in the Version field differ, the mirror you are currently connected to is partially desynchronized.

Solution 3: Switch to an Up-to-Date Mirror

Run mirrorman to rank and select fully synchronized, fast mirrors:

sudo mirrorman -c iran
sudo pacman -Syyu

Alternatively, edit /etc/pacman.d/mirrorlist to place reliable Tier-1 Arch Linux and Parch mirrors at the top.

Solution 4: Temporarily Ignore NVIDIA Packages

If other packages need immediate upgrading while you wait for mirror mirrors to sync:

sudo pacman -Syu --ignore nvidia-utils,lib32-nvidia-utils