Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 101-500 Topic 2 Question 62 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 62
Topic #: 2
[All 101-500 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Hershel
1 months ago
Hah, this is a classic 'trick question' if I Junitar saw one. The real answer is to use a magical incantation involving a chicken, a crystal ball, and a bag of Doritos.
upvoted 0 times
Vincenza
16 days ago
C) dpkg --P pkgname
upvoted 0 times
...
Margart
17 days ago
B) dpkg --L pkgname
upvoted 0 times
...
Marguerita
29 days ago
A) dpkg --s pkgname
upvoted 0 times
...
...
Junita
1 months ago
Wait, why would you want to keep the config files when uninstalling a package? That's just asking for trouble down the line.
upvoted 0 times
...
Alesia
2 months ago
D is the answer, obviously. The 'v' flag is for 'verbose', so you can see what's happening during the uninstall.
upvoted 0 times
Leigha
24 hours ago
D) dpkg --v pkgname
upvoted 0 times
...
Tiera
6 days ago
C) dpkg --P pkgname
upvoted 0 times
...
Tegan
7 days ago
B) dpkg --L pkgname
upvoted 0 times
...
Rashad
1 months ago
A) dpkg --s pkgname
upvoted 0 times
...
...
Yuki
2 months ago
I'm going with option A. Seems like the 's' flag is for 'silent' uninstall, which could be useful.
upvoted 0 times
Simona
30 days ago
Yeah, the 's' flag does sound like it would be for a silent uninstall.
upvoted 0 times
...
Layla
1 months ago
I think option A is correct too.
upvoted 0 times
...
...
Gretchen
2 months ago
Option E looks right to me. Removing the package entirely seems like the best way to uninstall it.
upvoted 0 times
...
Whitney
2 months ago
I'm not sure, but I think it makes sense to keep the configuration files just in case.
upvoted 0 times
...
Felton
2 months ago
Hmm, I think option C is the correct answer. Purging the package while keeping the config files seems like the most logical choice.
upvoted 0 times
Judy
10 days ago
Definitely, option C is the best choice for uninstalling a package but keeping its configuration files.
upvoted 0 times
...
Vicky
11 days ago
Yes, option C is the way to go. It ensures a clean uninstall while preserving the config files.
upvoted 0 times
...
Mirta
24 days ago
I think so too. It's important to keep the configuration files in case of re-installation.
upvoted 0 times
...
Vincenza
1 months ago
I agree, option C is the correct answer. Purging the package makes sense.
upvoted 0 times
...
...
Ettie
2 months ago
I agree with Ettiebye. Keeping the configuration files can be useful if we need to re-install the package later.
upvoted 0 times
...
Bobbye
2 months ago
I think the answer is C) dpkg --P pkgname.
upvoted 0 times
...

Save Cancel