Lutris install problem

I’m currently running Arch with Endeavour OS. I had Lutris installed and was trying to update it. I couldn’t remember how I had installed it originally, so I decided to removed it and do a fresh install with yay, but now every time I try to install it with yay or pacman, I get this error at the end

error: failed to commit transaction (conflicting files)
libgcc: /usr/lib/libgcc_s.so exists in filesystem (owned by gcc-libs)
libgcc: /usr/lib/libgcc_s.so.1 exists in filesystem (owned by gcc-libs)
libgcc: /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION exists in filesystem (owned by gcc-libs)
libstdc++: /usr/lib/libstdc++.so exists in filesystem (owned by gcc-libs)
libstdc++: /usr/lib/libstdc++.so.6 exists in filesystem (owned by gcc-libs)
libstdc++: /usr/lib/libstdc++.so.6.0.34 exists in filesystem (owned by gcc-libs)
libstdc++: /usr/share/locale/de/LC_MESSAGES/libstdc++.mo exists in filesystem (owned by gcc-libs)
libstdc++: /usr/share/locale/fr/LC_MESSAGES/libstdc++.mo exists in filesystem (owned by gcc-libs)
Errors occurred, no packages were upgraded.

I tried going through the steps to remove and do a clean install again, but the system cannot detect lutris in order to run “sudo pacman -Rns lutris”, so now I’m stuck with no lutris to be found and no idea how to fix it. Any suggestions?