╰──$ sudo pacman -Syu
:: Synchronising package databases...
core is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
warning: cannot resolve "libsysprof-capture", a dependency of "glib2"
:: The following package cannot be upgraded due to unresolvable dependencies:
:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing expat (2.4.3-1) breaks dependency 'expat=2.4.2' required by lib32-expat
What is this archlinuxfr and why don’t you have the other repos extra and community(and possibly multilib)?
I have both these packages installed but haven’t had any update issues so please use the official repos, see Unofficial user repositories - ArchWiki.
Warning: The official Arch Linux Developers and the Trusted Users do not perform tests of any sort to verify the contents of these repositories. It is your decision whether to trust their maintainers, and you take full responsibility for any consequences of using any unofficial repository.
You should be able to just remove both expat and lib32-expat, use this with CAUTION and check what’s actually being removed, copy the list of what is removed and save it to a text file so you can reinstall later.
pacman -Rnsc expat lib32-expat
Now update and install the packages you copied earlier