50

How to prevent pacman (archlinux's package manager) from reinstalling packages that were already installed?

 pacman -S packagename    # install and reinstall if exists
85

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.