Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 33 discussion

Actual exam question from LPI's 101-500
Question #: 33
Topic #: 1
[All 101-500 Questions]

Which command uninstalls a package but keeps its configuration files in case the package is re-installed?

  • A. dpkg -s pkgname
  • B. dpkg -L pkgname
  • C. dpkg -P pkgname
  • D. dpkg -v pkgname
  • E. dpkg -r pkgname
Show Suggested Answer Hide Answer
Suggested Answer: E 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Adam_H
Highly Voted 1 year, 3 months ago
Selected Answer: E
If it helps, you can think of using -r as telling the system to retain the configuration files for that package
upvoted 6 times
...
Ninymo
Most Recent 1 month ago
Answer: E
upvoted 1 times
...
blk_542
1 year, 5 months ago
true, -r: https://phoenixnap.com/kb/dpkg-command
upvoted 1 times
...
klever
1 year, 6 months ago
It is the correct answer, according to man page the -r, --remove Remove an installed package. This removes everything except conffiles, which may avoid having to reconfigure the package if it is reinstalled later
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...