Exam 101-500 Topic 1 Question 232 Discussion

Actual exam question for Lpi's 101-500 exam
Question #: 232
Topic #: 1
Which command will uninstall a package but leave its configuration files in case the package is re-installed?

Suggested Answer: D Vote an answer

The dpkg command is used to manage Debian packages on Linux systems. The -r option removes a package but leaves its configuration files in case the package is re-installed. The -P option purges a package and removes its configuration files as well. The -s option shows the status of a package and the -L option lists the files installed by a package. References:
* LPI Linux Essentials, Chapter 6: Managing Software, Section 6.2: Debian Package Management
* LPI Linux Administrator, Exam 101: System Architecture, Topic 102: Linux Installation and Package Management, Objective 102.5: Manage shared libraries
* LPI Linux Engineer, Exam 201: Linux Kernel, Topic 201: System Architecture, Objective 201.1:
Kernel Components and Compilation

by Ula at Mar 10, 2026, 08:29 AM

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