Which command uninstalls a package but keeps its configuration files in case the package is re-installed?
Suggested Answer: B
Get Premium 101-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
35 comments · newest first
JO
Josefa
11 months ago
Wow, I didn't know it kept config files. That's handy!
IV
Ivette
11 months ago
Nope, --P removes everything, not just the package!
DE
Delila
12 months ago
Wait, are you sure? I thought it was dpkg --P pkgname.
LE
Lewis
12 months ago
Totally agree, that's the right one!
VE
Vesta
12 months ago
The command is dpkg --r pkgname.
SH
Sherrell
1 year 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.
EA
Earleen
1 year ago
I remember studying this, and I think "dpkg --P" is for purging, which removes everything. So it can't be that one.
HA
Haydee
1 year 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.
LO
Lorrine
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 command.
PE
Peggie
1 year 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.
JO
Jose
1 year 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.
HE
Hershel
1 year 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.
VI
Vincenza
1 year ago
C) dpkg --P pkgname
MA
Margart
1 year ago
B) dpkg --L pkgname
MA
Marguerita
1 year ago
A) dpkg --s pkgname
JU
Junita
1 year ago
Wait, why would you want to keep the config files when uninstalling a package? That's just asking for trouble down the line.
AL
Alesia
1 year ago
D is the answer, obviously. The 'v' flag is for 'verbose', so you can see what's happening during the uninstall.
MA
Marge
1 year ago
D is the answer, obviously. The 'v' flag is for 'verbose', so you can see what's happening during the uninstall.
SE
Sena
1 year ago
E) dpkg --r pkgname
LE
Leigha
1 year ago
D) dpkg --v pkgname
TI
Tiera
1 year ago
C) dpkg --P pkgname
TE
Tegan
1 year ago
B) dpkg --L pkgname
RA
Rashad
1 year ago
A) dpkg --s pkgname
YU
Yuki
1 year ago
I'm going with option A. Seems like the 's' flag is for 'silent' uninstall, which could be useful.
SI
Simona
1 year ago
Yeah, the 's' flag does sound like it would be for a silent uninstall.
LA
Layla
1 year ago
I think option A is correct too.
GR
Gretchen
2 years ago
Option E looks right to me. Removing the package entirely seems like the best way to uninstall it.
WH
Whitney
2 years ago
I'm not sure, but I think it makes sense to keep the configuration files just in case.
FE
Felton
2 years ago
Hmm, I think option C is the correct answer. Purging the package while keeping the config files seems like the most logical choice.
JU
Judy
1 year ago
Definitely, option C is the best choice for uninstalling a package but keeping its configuration files.
VI
Vicky
1 year ago
Yes, option C is the way to go. It ensures a clean uninstall while preserving the config files.
MI
Mirta
1 year ago
I think so too. It's important to keep the configuration files in case of re-installation.
VI
Vincenza
1 year ago
I agree, option C is the correct answer. Purging the package makes sense.
ET
Ettie
2 years ago
I agree with Ettiebye. Keeping the configuration files can be useful if we need to re-install the package later.
BO
Bobbye
2 years ago
I think the answer is C) dpkg --P pkgname.