lib32-nss: /usr/lib32/p11-kit-trust.so exists in filesystem


After teaching on a Windows laptop for more than a month, I switched back to my Linux laptop for development purposes. But of course I needed an update first, so I started Pacman1 to update the system.

sudo pacman -Syu

Unfortunately the update broke with the following error.

error: failed to commit transaction (conflicting files)
nss: /usr/lib/p11-kit-trust.so exists in filesystem
lib32-nss: /usr/lib32/p11-kit-trust.so exists in filesystem
Errors occurred, no packages were upgraded.

After a quick search I figured out that the bug was already identified and a post describing the bug with a fix was posted in the ArchLinux news.

sudo pacman -Syu --overwrite /usr/lib\*/p11-kit-trust.so

With this solution the update worked smoothly and I was able to continue working.