A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?
A.
apt-get search /etc/debian_version
B.
apt –r /etc/debian_version
C.
find /etc/debian_version -dpkg
D.
dpkg –S /etc/debian_version
E.
apt-file /etc/debian_version
Answer:
C
User Votes:
A 1 votes
50%
B
50%
C
50%
D 4 votes
50%
E 1 votes
50%
Discussions
0/ 1000
daittarn2
2 months ago
dpkg -S <filename> searches for the package that owns the specified file on the local system.
It tells you which installed package provides /etc/debian_version.
Want to join our community?
Please log in or signup in order to use this feature
dpkg -S <filename> searches for the package that owns the specified file on the local system.
It tells you which installed package provides /etc/debian_version.