Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:

All you have to know about RPM

by Alexandre de Abreu

How can I simulate what will be done when executing "rpm -ivh new-kernel.rpm"?

You can simulate or test what will happen when executing a RPM command. It's useful when doing critical updates or instalations and when you want to see if there will be any problem during the RPM process. The following command can be used to simulate a kernel installation:

rpm -ivh --test new-kernel.rpm

This will show what problems you may find when installing the new Kernel(space available, dependency problem, etc), if nothing appears, try adding more verbosity with "-vv" parameter. If all goes ok you will see the traditional "Preparing..." output.

Note that you can use the "--test" parameter combined with other RPM commands too. Try it to see what you got.