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:///var/share/pkgrepos/isvrepo/
devtool (disabled) origin online F http://pkg.example.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:///var/share/pkgrepos/isvrepo/ -
devtool true false false origin online http://pkg.example.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: https://pkg.oracle.com/solaris/support/
Origin Status: Online
SSL Key: /var/pkg/ssl/458a3a3690dbdd688dc47aa2e66317b7ecc3ff12
SSL Cert: /var/pkg/ssl/01bffa3f4f7bc8cf164e8719fbf1a3a43a82f893
Cert. Effective Date: Thu Jun 22 17:09:43 2017
Cert. Expiration Date: Sun Jun 30 17:09:43 2019
Client UUID: f892c512-6c3f-11e5-befc-7f447de68cea
Catalog Updated: Mon Aug 06 19:36:55 2018
Enabled: Yes
The Client UUID is the Universally Unique Identifier for this image.
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 https://pkg.oracle.com/solaris/support/
Use the -n
option to display only enabled publishers.
$ pkg publisher -n
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F https://pkg.oracle.com/solaris/support/
isvpub (non-sticky) origin online F file:///var/share/pkgrepos/isvrepo/