p11-kit-trust.so exists in filesystem – Quickly Fixed!

By |2020-05-28T01:21:30-04:00April 20th, 2020|Engineering, Random Fixes|0 Comments

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

Error: Failed to commit transaction (conflicting files)

I crossed this one today, nss: /usr/lib/p11-kit-trust.so exists in filesystem, doing a full system upgrade on my daily driver. I use Linux Manjaro for all purposes. As I was installing an English thesaurus, I decided to go around and sync with the upstream repository and do a full update.

yay -Syyu mythesia

This hardly happens, but sure enough, I got this error:

error: failed to commit transaction (conflicting files)
nss: /usr/lib/p11-kit-trust.so
libs32-nss: /usr/lib32/p11-kit-trust.so

For the record, yay is just a wrapper around pacman for updating Arch and Manjaro. It also utilizes the AUR, if you want it to. If you haven’t used it, it’s worth checking out. Just know that it could be part of how I ended up in this situation.

p11-kit-trust.so file exists in file system
fike exists in filesystem

At first glace, that’s alarming. Those packages, nss and lib32-nss, are required by tons of packages. Meaning all of those packages depend on them. But, don’t panic. I was ballsy enough to try and just overwrite them and it didn’t brick my system. So, it’s fine.

p11-kit-trust.so file exists in filesystem
sudo Don’t argue with me

The Fix for ‘nss: /usr/lib/p11-kit-trust.so exists in filesystem’:

yay -Syyu --overwrite /usr/lib/p11-kit-trust.so --overwrite /usr/lib32/p11-kit-trust.so
p11-kit-trust.so file exists in filesystem

Contact me, any time, for a free consultation.