Upgrade/Update Error

Hey all,

I just tried running my yay command to update my system and everything seemed to be going well. Then all of a sudden I got the following error and yay stopped:

error: failed to commit transaction (conflicting files)
jbigkit: /usr/lib/libjbig.so exists in filesystem (owned by libjbig-shared)
Errors occurred, no packages were upgraded.
 -> error installing repo packages

I cannot find anything on Google so far, but maybe I am searching the wrong terms. Any help would be greatly appreciated!

  • LinuxAndCoffee

try the following command:

sudo pacman -Syu --overwrite /usr/lib/libjbig.so
1 Like

YOU ARE AMAZING!!!

Just for anyone else who might run into something like this, I had tried the following:

sudo pacman -Syyu --overwrite "/usr/lib/libjbig.so"

which did not work. But obviously the extra “y” and possibly the quotation marks were part of the problem. Thank you pycrk!!!

1 Like