QuestionQ29

VerifiedLinux Installation and Package Management

A Debian package produces several files when it is installed. Which of the following commands searches for the package that owns the file /etc/debian_version?

Explanation

The -S (--search) action of dpkg searches installed package file lists for the supplied filename and reports the package that owns it. Thus, dpkg -S /etc/debian_version performs the required ownership lookup.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!