LPIC-1 Exam 101 v5 (Linux Administrator) — Question 98

Which of the following commands lists the dependencies of the RPM package file foo.rpm?

Answer options

Correct answer: A

Explanation

The command 'rpm -qpR foo.rpm' is specifically designed to query the package file for its dependencies. The other options either do not exist or are not valid commands for listing dependencies of an RPM package.