error: failed to commit transaction (conflicting files) curl: /usr/bin/curl exists in filesystem



error: failed to commit transaction (conflicting files) curl: /usr/bin/curl exists in filesystem
pacman -Su --ignore curl #升级时不升级包curl


Grab curl pacage and all updated package, remove curl, do the update, re-install curl back :

sudo pacman -Syw curl

sudo pacman -Syuw
sudo pacman -Rdd curl
sudo pacman -Su
sudo pacman -S curl

pacman -Syyu