Prevent pacman from reinstalling packages that were already installed

Solution 1:

Use the --needed option to skip reinstall of existing packages when you Sync (-S).

If a package in the list is already installed on the system, it will be reinstalled even if it is already up to date. This behavior can be overridden with the --needed option.

  • Source
  • More info