Warning: When installing packages in Arch, avoid refreshing the package list without upgrading the system (for example, when a package is no longer found in the official repositories). In practice, do not run
pacman -Sy package_name
instead ofpacman -Syu package_name
, as this could lead to dependency issues. See System maintenance#Partial upgrades are unsupported and BBS#89328.
– pacman - ArchWiki
You may have created a partial sync state by updating the metadata.
The command sudo pacman -S pacman
may create a partial sync state.
Please use
sudo pacman -Syu <pkgname>
Also see this comment in [Unstable Update] June 2025 - #31 by Yochanan and the preceeding comment.