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.