Exam 101-500 Topic 1 Question 320 Discussion

Actual exam question for Lpi's 101-500 exam
Question #: 320
Topic #: 1
When removing a package, which of the following dpkg options will completely remove the files including configuration files?

Suggested Answer: C Vote an answer

Explanation
When removing a package on a system using dpkg package management, the --purge option ensures that configuration files are removed as well. The --purge option is equivalent to the --remove option followed by the --purge-config-files option, which removes any configuration files that are marked as obsolete. The
--remove option only removes the package files, but leaves the configuration files intact. The --clean option removes any .deb files from the local cache, but does not affect the installed packages. The --delete option is not a valid option for dpkg. References:
* 1, 102.4 Lesson 1
* 3, 101-500 Exam - Free Questions and Answers - ITExams.com
* man dpkg

by Odelette at May 19, 2025, 03:01 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10