Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know that pacman -Su upgrades all packages. But how can I get just the list of packages that need upgrading?

share|improve this question
up vote 7 down vote accepted

Looking at the man page something like

pacman -Sy

to sync the database up to the latest version followed by

pacman -Qu


-u, --upgrades

Restrict or filter output to packages that are out of date on the

local system. (Only package versions are used to find outdated packages, replacements are not checked here.) This option works best if the sync database is refreshed using -Sy.

share|improve this answer
Thanks, this is what I was looking for. – eugene y Aug 11 '11 at 19:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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