╰──$ sudo pacman -Syu
:: Synchronising package databases...
core is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
resolving dependencies...
warning: cannot resolve "libsysprof-capture", a dependency of "glib2"
:: The following package cannot be upgraded due to unresolvable dependencies:
glib2
:: 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
I think my confusion was that if all the repos are pointing to the mirrorlist than why shall I have all, I couldn’t quite understand that is not the case ( still don’t but things work better )
Is the title [core] etc used in the mirrorlist URL ?
Server = https://mirror.sfo12.us.leaseweb.net/archlinux/$repo/os/$arch
Where $repo is something like core, extra, community, archlabs, etc. The $arch is the machine architecture, usually x86_64 or any since arch dropped 32bit support.