This question already has an answer here:

I saved the pacman -Qqe output from a previous arch install and now I'm using this list to install all the packages I had at once. However some of them are already installed and it wants to reinstall them which I fear will break things. Is there a pacman parameter to ignore the packages that are already installed? Or at least not to reinstall them but just update.

marked as duplicate by Thomas Dickey, don_crissti, Jeff Schaller, PersianGulf, mdpc Jul 26 '16 at 0:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Reinstalling is not a problem: pacman simply recognises that you have an up-to-date version of the package and tells you this. – jasonwryan Jul 25 '16 at 21:36
  • @jasonwryan reinstalling some package generates locale again, rerun mkinitcpio etc it's annoying I'm looking for a way to skip the reinstalls when installing in bulk – ChiseledAbs Jul 25 '16 at 21:37
  • 1
    What is the command you're using ? When using pacman with -S or -U you can add --needed to skip reinstalling up to date packages. Is that what you want ? – don_crissti Jul 25 '16 at 21:42
  • @don_crissti do you see a dupe to close this with, or would you like to make an Answer? – Jeff Schaller Jul 25 '16 at 23:55