LPIC-1 Exam 101 (Linux Administrator) — Question 20

Which of the following commands lists the dependencies of a given dpkg package?

Answer options

Correct answer: C

Explanation

The correct command is 'apt-cache depends package', which accurately retrieves the dependency information for the specified dpkg package. The other options either use incorrect syntax or refer to non-existent commands for this purpose.