What command will uninstall a package but leave its configuration files in case a package is re-installed?
Suggested Answer: D
Get Premium LCP-001 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
The answer should be ''Match a literal + symbol'' because there is a backslash symbol before the plus, so it should match a literal +.
38 comments · newest first
BI
Billye
11 months ago
I always get confused with these commands.
GR
Gregoria
11 months ago
I thought it was D, but I guess not!
HI
Hildred
11 months ago
Wait, are you sure it keeps the config files?
GI
Gilma
12 months ago
Totally agree, that's the right command!
SH
Shasta
12 months ago
It's E, dpkg -r pkgname, that keeps config files.
CA
Catrice
12 months ago
I remember reading that "dpkg -s" and "dpkg -L" are for checking status and listing files, respectively. So they definitely aren't the right answers here.
YV
Yvonne
1 year ago
I'm a bit confused. I thought "dpkg -r" was the right command, but I can't recall if it actually keeps the config files or not.
ME
Melodie
1 year ago
I practiced a similar question last week, and I believe "dpkg -P" is the one that completely removes everything, including config files. So it can't be that one.
VA
Vallie
1 year ago
I think the command we're looking for is the one that removes the package but keeps the config files. I vaguely remember it being something like "dpkg -r" but I'm not entirely sure.
CO
Corrie
1 year ago
This looks like a straightforward question about managing the indexing policy in Azure Cosmos DB. I'll need to review the options carefully and think through the implications of each choice.
SA
Samira
1 year ago
Hmm, this looks tricky. I'm not sure I fully understand the context of the question. I'll need to think it through step-by-step to make sure I don't miss anything.
LE
Lelia
1 year ago
Ah, I know this one! The /proc filesystem is where you can find all sorts of system information, including RAID status. The answer is definitely /proc/mdstat.
SH
Shantell
1 year ago
This is a tricky one. There are a lot of details to keep track of, and the options seem quite similar. I'll need to really focus and think through each possibility to determine the correct answers.
AL
Alex
1 year ago
I heard the exam committee is going to start offering a 'dpkg -P -i' option - uninstall the package AND install it at the same time. Efficiency at its finest!
GE
Georgiann
1 year ago
C) dpkg -L pkgname
DO
Dominga
1 year ago
B) dpkg -s pkgname
JO
Johnson
1 year ago
A) none, no command will do this
JO
Jolanda
1 year ago
D all the way, baby! Keeping those config files around is the smart move. Who wants to start from scratch, am I right?
MI
Michel
2 years ago
Hmm, I'm torn between B and D. Guess I'll just flip a coin and hope for the best!
TR
Tran
1 year ago
I agree, D) dpkg -P pkgname is the right choice
SH
Shanice
1 year ago
Let's see, I'll choose D) dpkg -P pkgname
CO
Cordelia
1 year ago
I would go with B) dpkg -s pkgname
RO
Royal
1 year ago
I think it's D) dpkg -P pkgname
RE
Renea
1 year ago
I'll take my chances with D) dpkg -P pkgname
MY
My
1 year ago
Just flip a coin and decide between B and D
PE
Pedro
1 year ago
I would go with B) dpkg -s pkgname
EL
Eleni
1 year ago
I think it's D) dpkg -P pkgname
ER
Ernest
2 years ago
Easy, it's gotta be E. Removing the package is what I need, not this 'leave the config' nonsense.
RO
Robt
2 years ago
I agree with Veronika, dpkg -P is the correct command for that.
NO
Noel
2 years ago
Option D looks the most promising to me. Removing the package but keeping the config files seems like a useful feature.
KA
Katheryn
1 year ago
Option D is the way to go for uninstalling a package while keeping its configuration files.
LA
Larue
1 year ago
Yes, option D will remove the package but keep the configuration files.
DI
Diane
1 year ago
I think option D is the best choice too.
KA
Kattie
1 year ago
Yes, dpkg -P pkgname is the one to use for removing the package but keeping the configuration files.
FR
Francesco
1 year ago
I agree, option D is the correct one.
GA
Gail
1 year ago
I agree, option D (dpkg -P pkgname) is the correct command for that.
VE
Veronika
2 years ago
I think the answer is D) dpkg -P pkgname because it removes the package and its configuration files.
DE
Demetra
2 years ago
What command will uninstall a package but leave its configuration files in case a package is re-installed?