Which command would you use?

You have installed an update to the gzip package and need to “undo” .ho update and return
the package to its “as-delivered” condition. Which command would you use?

You have installed an update to the gzip package and need to “undo” .ho update and return
the package to its “as-delivered” condition. Which command would you use?

A.
pkg fix

B.
pkg uninstall

C.
pkg undo

D.
pkg revert



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Sh

Sh

A

Kais Baccour

Kais Baccour

A is not correct. Please refer to the man, pkg revert does the job. Hence, the correct answer is D

mahoni

mahoni

Answer: D
Explanation:
Use the pkg revert command to restore files to their as-delivered condition.
Reference: Adding and Updating Oracle Solaris 11 Software Packages, Restoring a File