New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 101-500 Exam - 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:

0/2000 characters
Josefa
4 months ago
Wow, I didn't know it kept config files. That's handy!
upvoted 0 times
...
Ivette
4 months ago
Nope, --P removes everything, not just the package!
upvoted 0 times
...
Delila
4 months ago
Wait, are you sure? I thought it was dpkg --P pkgname.
upvoted 0 times
...
Lewis
4 months ago
Totally agree, that's the right one!
upvoted 0 times
...
Vesta
4 months ago
The command is dpkg --r pkgname.
upvoted 0 times
...
Sherrell
5 months ago
I’m a bit confused, but I think "dpkg --s" is for status. I just can't recall the exact command for uninstalling while keeping the config files.
upvoted 0 times
...
Earleen
5 months ago
I remember studying this, and I think "dpkg --P" is for purging, which removes everything. So it can't be that one.
upvoted 0 times
...
Haydee
5 months ago
I'm not entirely sure, but I feel like "dpkg --r" might be the right choice. It sounds familiar from a practice question I did last week.
upvoted 0 times
...
Lorrine
5 months ago
I think the command we're looking for is the one that removes the package but keeps the config files. I remember something about "remove" in the command.
upvoted 0 times
...
Peggie
5 months ago
This one seems straightforward. I think the answer is the Options Bar, since that's where you can define settings related to the placement of elements.
upvoted 0 times
...
Jose
5 months ago
I think I've got it! The "use prj1;" statement is likely useless since the scenario already specifies that Jack is the administrator of the project.
upvoted 0 times
...
Hershel
10 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
9 months ago
C) dpkg --P pkgname
upvoted 0 times
...
Margart
9 months ago
B) dpkg --L pkgname
upvoted 0 times
...
Marguerita
9 months ago
A) dpkg --s pkgname
upvoted 0 times
...
...
Junita
10 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
10 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
Marge
8 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
...
Sena
8 months ago
E) dpkg --r pkgname
upvoted 0 times
...
Leigha
9 months ago
D) dpkg --v pkgname
upvoted 0 times
...
Tiera
9 months ago
C) dpkg --P pkgname
upvoted 0 times
...
Tegan
9 months ago
B) dpkg --L pkgname
upvoted 0 times
...
Rashad
10 months ago
A) dpkg --s pkgname
upvoted 0 times
...
...
Yuki
10 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
10 months ago
Yeah, the 's' flag does sound like it would be for a silent uninstall.
upvoted 0 times
...
Layla
10 months ago
I think option A is correct too.
upvoted 0 times
...
...
Gretchen
10 months ago
Option E looks right to me. Removing the package entirely seems like the best way to uninstall it.
upvoted 0 times
...
Whitney
11 months ago
I'm not sure, but I think it makes sense to keep the configuration files just in case.
upvoted 0 times
...
Felton
11 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
9 months ago
Definitely, option C is the best choice for uninstalling a package but keeping its configuration files.
upvoted 0 times
...
Vicky
9 months ago
Yes, option C is the way to go. It ensures a clean uninstall while preserving the config files.
upvoted 0 times
...
Mirta
9 months ago
I think so too. It's important to keep the configuration files in case of re-installation.
upvoted 0 times
...
Vincenza
10 months ago
I agree, option C is the correct answer. Purging the package makes sense.
upvoted 0 times
...
...
Ettie
11 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
11 months ago
I think the answer is C) dpkg --P pkgname.
upvoted 0 times
...

Save Cancel