Adding and Updating Software in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Displaying Publisher Information

Use the pkg publisher command to display information about package publishers configured for this image. The publishers are listed in the order in which they are searched to find packages when the publisher is not specified in the package FMRI.

By default, the solaris publisher is configured on a newly installed Oracle Solaris 11 system. Use the pkg publisher command to check the origins of your publishers.

$ pkg publisher
PUBLISHER                   TYPE    STATUS P LOCATION
solaris                     origin  online F http://pkg.oracle.com/solaris/release/
isvpub         (non-sticky) origin  online F file:///export/IPSpkgrepos/isvrepo/
devtool        (disabled)   origin  online F http://pkg.example1.com/

The TYPE column indicates whether the LOCATION value is an origin or a mirror. See Repository Origins and Mirrors for descriptions.

Between the STATUS and LOCATION columns, the P column specifies whether the location is proxied. Values in this column are true (T) or false (F). File repositories are not proxied. HTTP repositories with the value T are proxied using the proxy specified with the --proxy option when the origin was added with the pkg set-publisher command. When you specify the -F tsv option to pkg publisher, the PROXY column displays any proxy that is set for that location.

$ pkg publisher -F tsv
PUBLISHER STICKY SYSPUB ENABLED TYPE   STATUS URI                                    PROXY
solaris   true   false  true    origin online http://pkg.oracle.com/solaris/release/ -
isvpub    false  false  true    origin online file:///export/IPSpkgrepos/isvrepo/    -
devtool   true   false  false   origin online http://pkg.example1.com/               -

An F in the P column or - in the PROXY column indicates that the location was not proxied by using the pkg set-publisher command. If the location is proxied by setting an http_proxy environment variable, the pkg publisher output still shows F or -. See Specifying a Proxy for information about different ways to set a proxy.

Specify publishers by name to display detailed configuration for those publishers.

$ pkg publisher solaris
       Publisher: solaris
           Alias:
      Origin URI: http://pkg.oracle.com/solaris/release/
         SSL Key: None
        SSL Cert: None
     Client UUID: e15e3228-eada-11df-80ab-8023183d954b
 Catalog Updated: March 4, 2014 11:48:02 PM
         Enabled: Yes
      Properties:
                  proxied-urls = []

Use the -P option to display only the first publisher in the publisher search order.

$ pkg publisher -P
PUBLISHER                   TYPE    STATUS P LOCATION
solaris                     origin  online F http://pkg.oracle.com/solaris/release/

Use the -n option to display only enabled publishers.

$ pkg publisher
PUBLISHER                   TYPE    STATUS P LOCATION
solaris                     origin  online F http://pkg.oracle.com/solaris/release/
isvpub         (non-sticky) origin  online F file:///export/IPSpkgrepos/isvrepo/