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 101-500 Exam - Topic 7 Question 72 Discussion

Posted by Dominque on Jul 29, 2023 at 12:02 AM

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

Suggested Answer: C

Get Premium 101-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
34 comments · newest first
EM
Emeline 11 months ago
Nah, --r is definitely the right one here.
NI
Nina 11 months ago
I didn’t know you could keep config files like that!
LI
Lindy 11 months ago
Wait, are you sure? I thought it was --P for purge.
RE
Reed 11 months ago
Totally agree, that’s the way to go!
JU
Jules 12 months ago
The correct command is dpkg --r pkgname.
PA
Pamella 12 months ago
I think "dpkg --s" is just for status, not uninstalling. I need to double-check what "dpkg --r" does again.
BE
Bernardine 12 months ago
I recall that "dpkg --P" is for purging, which deletes everything, so it can't be that one.
HA
Hana 1 year ago
I’m not entirely sure, but I feel like "dpkg --r" might be the right choice. It sounds familiar from practice questions.
CA
Carry 1 year 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.
CY
Cyril 1 year 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!
VA
Val 1 year 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.
VA
Van 1 year 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.
GR
Gretchen 1 year ago
I feel like "switchport mode access" would definitely not form a trunk, but I'm confused about how "dynamic desirable" works with DTP.
CL
Clement 1 year 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.
VI
Virgilio 1 year 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.
AI
Aide 1 year 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.
KA
Katlyn 1 year ago
↳ replying to Aide
Let's double check. I'll go with D) dpkg --r pkgname as well.
GA
Gaston 1 year ago
↳ replying to Aide
I think you're both wrong. D) dpkg --r pkgname is the command to uninstall a package but leave its configuration files.
JE
Jeanice 1 year ago
↳ replying to Aide
I'm not sure about that. I believe A) dpkg --s pkgname is the correct option.
DE
Delsie 1 year ago
↳ replying to Aide
I think it's C) dpkg --P pkgname. That should remove the package but keep its configuration files.
KR
Kristal 1 year 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.
EL
Elvera 1 year ago
↳ replying to Kristal
I'm pretty sure it's C) dpkg --P pkgname because it completely purges the package.
MA
Marsha 1 year ago
↳ replying to Kristal
No, I believe it's A) dpkg --s pkgname.
JA
Jade 1 year ago
↳ replying to Kristal
I think C) dpkg --P pkgname is the correct choice.
FA
Fausto 1 year 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.
IZ
Izetta 1 year ago
↳ replying to Fausto
I agree with you, D) dpkg --r pkgname is the right choice to uninstall a package and keep its configuration files.
CA
Catina 1 year ago
↳ replying to Fausto
I always use A) dpkg --s pkgname to uninstall packages.
RO
Rosio 1 year ago
↳ replying to Fausto
I'm not sure, but I think C) dpkg --P pkgname is the correct option.
OL
Olive 1 year ago
I'm not sure, but I think C) dpkg --P pkgname makes sense. It sounds like the right option.
CH
Christoper 1 year ago
I agree with Alisha. Using --P option will remove the package but keep its configuration files.
AL
Alisha 1 year ago
I think the answer is C) dpkg --P pkgname.
AD
Adelina 2 years ago
I'm not sure, but I think dpkg --s pkgname might also be a valid option.
NI
Nichelle 2 years ago
I agree with Cecily. Using dpkg --P will remove the package but keep its configuration files.
CE
Cecily 2 years ago
I think the answer is C) dpkg --P pkgname.
0/2000 characters

Save Cancel