Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to tell what yum would do "but not do it" for a given yum command?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Unless you have specified assumeyes (-y) it should already do this.

See the following as an example:

# yum remove python-devel
Loaded plugins: fastestmirror, presto
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package python-devel.x86_64 0:2.6.5-3.el6_0.2 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================================================
 Package                                     Arch                                  Version                                         Repository                               Size
=================================================================================================================================================================================
Removing:
 python-devel                                x86_64                                2.6.5-3.el6_0.2                                 @updates                                443 k

Transaction Summary
=================================================================================================================================================================================
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]:
share|improve this answer

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.