Which two statements regarding the pkg command are correct?

Which two statements regarding the pkg command are correct?
A. It requires HTTP to connect to a remote repository.
B. It uses the set-publisher subcommand to remove an origin.
C. It cannot point to both sticky and nonsticky publishers in the same repository.
D. It uses the unset-publisher subcommand to remove publishers.
E. It uses the set-publisher subcommand to remove publishers.

Download Printable PDF. VALID exam to help you PASS.

3 thoughts on “Which two statements regarding the pkg command are correct?

  1. AD are correct
    https://docs.oracle.com/cd/E36784_01/html/E36802/gijmo.html

    A:
    Use the -G option to remove a URI as an origin for the specified publisher.

    To change an origin URI for a publisher, add the new URI and remove the old URI.

    $ pkg set-publisher -G ‘*’ -g file:///export/IPSpkgrepos/isvrepo/ isvpub

    D:
    Removing a Publisher
    Use the pkg unset-publisher command to remove a publisher.

    $ pkg unset-publisher devtool

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.