1Z0-821 · Question #178
You need to update an OS image on a client. The pkg publishers command displays the wrong publisher with the wrong update: PUBLISHERTYPESTATUSURI The update is available on the updated publisher…
The correct answer is C. Use the pkg set-publisher command to change the URL of the publisher Solaris to. You can use the pkg set-publisher command to change a publisher URI. Changing a Publisher Origin URI To change the origin URI for a publisher, add the new URI and remove the old URI. Use the -g option to add a new origin URI. Use the -G option to remove the old origin URI…
Question
You need to update an OS image on a client. The pkg publishers command displays the wrong publisher with the wrong update:
PUBLISHERTYPESTATUSURI The update is available on the updated publisher:
PUBLISHERTYPESTATUSURI Select the option that describes the procedure used to update the OS image on the system from the updated publisher.
Options
- ACopy the repository from the ISO image onto the local client.
- BConfigure the publisher on the client using the svcfg - s command so that the Solaris publisher is
- CUse the pkg set-publisher command to change the URL of the publisher Solaris to
How the community answered
(39 responses)- A13% (5)
- B5% (2)
- C82% (32)
Explanation
You can use the pkg set-publisher command to change a publisher URI. Changing a Publisher Origin URI To change the origin URI for a publisher, add the new URI and remove the old URI. Use the -g option to add a new origin URI. Use the -G option to remove the old origin URI. Note: You can use either the install or update subcommand to update a package. The install subcommand installs the package if the package is not already installed in the image. If you want to be sure to update only packages that are already installed, and not install any new packages, then use the update subcommand.
Topics
Community Discussion
No community discussion yet for this question.