Which command would be used to restore the gedit package to its original as-delivered state?

Which command would be used to restore the gedit package to its original as-delivered state?

Which command would be used to restore the gedit package to its original as-delivered state?

A.
pkgrevertgedit

B.
pkg restoregedit

C.
pkg updategedit@original

D.
pkg reinstall gedit

E.
pkg reset gedit

Explanation:
Use the pkg revert command to restore files to their as-delivered condition.
Reference:Oracle Solaris 11.1 Information Library,Fixing Package Problems



Leave a Reply 1

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


rocky

rocky

A is correct > see man pkg

pkg revert [-nv] [–no-be-activate] [–no-backup-be | —
require-backup-be] [–backup-be-name name] [–deny-new-be |
–require-new-be] [–be-name name] (–tagged tag-name … |
path-to-file …)

Revert files delivered by pkg(5) packages to their as-
delivered condition. File ownership and protections are
also restored.