Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

to

-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

 
discard

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.