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 7 Question 72 Discussion

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

Which command will uninstall a package but leave its configuration files in case the package is re-installed?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Emeline
3 months ago
Nah, --r is definitely the right one here.
upvoted 0 times
...
Nina
3 months ago
I didn’t know you could keep config files like that!
upvoted 0 times
...
Lindy
4 months ago
Wait, are you sure? I thought it was --P for purge.
upvoted 0 times
...
Reed
4 months ago
Totally agree, that’s the way to go!
upvoted 0 times
...
Jules
4 months ago
The correct command is dpkg --r pkgname.
upvoted 0 times
...
Pamella
4 months ago
I think "dpkg --s" is just for status, not uninstalling. I need to double-check what "dpkg --r" does again.
upvoted 0 times
...
Bernardine
4 months ago
I recall that "dpkg --P" is for purging, which deletes everything, so it can't be that one.
upvoted 0 times
...
Hana
5 months ago
I’m not entirely sure, but I feel like "dpkg --r" might be the right choice. It sounds familiar from practice questions.
upvoted 0 times
...
Carry
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 options.
upvoted 0 times
...
Cyril
5 months ago
No problem, I've got this. I'll use the `docker build` command to create the image with the specified name and tag, then `docker save` to export it to the target location. Easy peasy!
upvoted 0 times
...
Val
5 months ago
I'm a bit confused by this question. The options don't seem to directly address the question being asked. I'll need to re-read it a few times to make sure I understand what they're looking for.
upvoted 0 times
...
Van
5 months ago
The key here is the wording "not every application". That suggests the answer is True, even though the manifest file is a crucial part of an Android app. I'll go with True.
upvoted 0 times
...
Gretchen
5 months ago
I feel like "switchport mode access" would definitely not form a trunk, but I'm confused about how "dynamic desirable" works with DTP.
upvoted 0 times
...
Clement
9 months ago
Wait, is this a trick question? I'm going to go with D) dpkg --r pkgname, because it's the most intuitive option for uninstalling a package without removing the config files.
upvoted 0 times
...
Virgilio
9 months ago
Haha, good one! I bet the answer is A) dpkg --s pkgname, which stands for 'dpkg --status', because that's clearly not what the question is asking for.
upvoted 0 times
...
Aide
9 months ago
Hmm, this is a tough one. I'm leaning towards B) dpkg --L pkgname, since that lists the files associated with the package. But I'm not entirely confident.
upvoted 0 times
Katlyn
8 months ago
Let's double check. I'll go with D) dpkg --r pkgname as well.
upvoted 0 times
...
Gaston
8 months ago
I think you're both wrong. D) dpkg --r pkgname is the command to uninstall a package but leave its configuration files.
upvoted 0 times
...
Jeanice
8 months ago
I'm not sure about that. I believe A) dpkg --s pkgname is the correct option.
upvoted 0 times
...
Delsie
8 months ago
I think it's C) dpkg --P pkgname. That should remove the package but keep its configuration files.
upvoted 0 times
...
...
Kristal
10 months ago
The question is tricky, but I'm pretty sure C) dpkg --P pkgname is the right choice. That option completely purges the package, including the configuration files.
upvoted 0 times
Elvera
8 months ago
I'm pretty sure it's C) dpkg --P pkgname because it completely purges the package.
upvoted 0 times
...
Marsha
9 months ago
No, I believe it's A) dpkg --s pkgname.
upvoted 0 times
...
Jade
9 months ago
I think C) dpkg --P pkgname is the correct choice.
upvoted 0 times
...
...
Fausto
10 months ago
I think D) dpkg --r pkgname is the correct answer. It's the standard way to uninstall a package while keeping the configuration files.
upvoted 0 times
Izetta
9 months ago
I agree with you, D) dpkg --r pkgname is the right choice to uninstall a package and keep its configuration files.
upvoted 0 times
...
Catina
9 months ago
I always use A) dpkg --s pkgname to uninstall packages.
upvoted 0 times
...
Rosio
9 months ago
I'm not sure, but I think C) dpkg --P pkgname is the correct option.
upvoted 0 times
...
...
Olive
10 months ago
I'm not sure, but I think C) dpkg --P pkgname makes sense. It sounds like the right option.
upvoted 0 times
...
Christoper
10 months ago
I agree with Alisha. Using --P option will remove the package but keep its configuration files.
upvoted 0 times
...
Alisha
10 months ago
I think the answer is C) dpkg --P pkgname.
upvoted 0 times
...
Adelina
10 months ago
I'm not sure, but I think dpkg --s pkgname might also be a valid option.
upvoted 0 times
...
Nichelle
11 months ago
I agree with Cecily. Using dpkg --P will remove the package but keep its configuration files.
upvoted 0 times
...
Cecily
11 months ago
I think the answer is C) dpkg --P pkgname.
upvoted 0 times
...

Save Cancel