Error: failed to commit transaction (conflicting files)

I tried to install maria-db and got the following error.

error: failed to commit transaction (conflicting files)
libxcrypt: /usr/include/crypt.h exists in filesystem (owned by glibc)
libxcrypt: /usr/lib/libcrypt.so exists in filesystem (owned by glibc)
libxcrypt: /usr/share/man/man3/crypt.3.gz exists in filesystem (owned by man-pages)
libxcrypt: /usr/share/man/man3/crypt_r.3.gz exists in filesystem (owned by man-pages)
Errors occurred, no packages were upgraded.

How to resolve it?

Run this command:
sudo pacman-mirrors -f && sudo pacman -Syyu --overwrite '*'
Then try to install what you want.

3 Likes
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.