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

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.

Thanks!

share|improve this question

1 Answer 1

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
1  
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

 
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.