3

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!

1 Answer 1

4

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.

1
  • 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. Apr 2, 2012 at 17:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .