2

The manual only says "--test" only checks for conflicts:

hostname:~/foo# rpm -ivh --test jdk-6u2-linux-i586.rpm
Preparing...                ################# [100%]
hostname:~/foo #

Our question: does it checks for dependencies too?

1

If you add enough verbose flags to the rpm call rpm will tell you what it is doing during its operation.

So try rpm -Uvvvh --test jdk-6u2-linux-i586.rpm and look at the output for the Requires: lines.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.