Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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'm trying to figure out how to see all the updates that will be applied by yum update, before running it. Is there a simple command for that?

My understanding is that yum list updates only list what has been updated previously.


share|improve this question
up vote 4 down vote accepted

sudo yum update --assumeno

this will list all available updates without actually updating anything, assuming you have a yum version that support the switch. otherwise just be careful because by default it will ask you before it does the update and you can still say no.

share|improve this answer
You can also use yum shell, which will even let you tweak what will be done before it's done. From the shell, update will create an update transaction. Then you can use transaction commands like ts list to view it, ts solve to include any dependencies, and finally ts run to execute it. – David Schwartz Apr 2 '12 at 17:56

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.