PrepAway - Latest Free Exam Questions & Answers

What command will uninstall a package but leave its configuration files in case a package is rE.installed?

What command will uninstall a package but leave its configuration files in case a package is rE.installed?

PrepAway - Latest Free Exam Questions & Answers

A.
dpkg-r pkgname

B.
none, no command will do this

C.
dpkg-L pkgname

D.
dpkg-P pkgname

E.
dpkg-s pkgname

Explanation:
To remove an installed package, use the command dpkg –remove package or dpkg -r package This command does not remove package configuration files, which may facilitate subsequent rE.installation of the package. If you want to remove the configuration files as well, use the command:
dpkg –purge package


Leave a Reply