solaris 11 ips properties

$ pkgrepo info -s /export/repoSolaris11
PUBLISHER PACKAGES STATUS UPDATED
solaris 4292 online 2011-10-26T17:17:30.230911Z
The following command displays property information about the local repository.

$ pkgrepo get -s /export/repoSolaris11
SECTION PROPERTY VALUE
publisher prefix solaris
repository description This\ repository\ serves\ a\ copy\ of\ the\ Oracle\ Solaris\ 11\
Build\ 175b\ Package\ Repository.
repository name Oracle\ Solaris\ 11\ Build\ 175b\ Package\ Repository
repository version 4
The value of the publisher prefix specifies that solaris is to be used in the following cases:

When more than one publisher's packages are present and no publisher is specified in the package name in the pkg command

When packages are published to the repository and no publisher is specified

Version 4 repositories are created by default. Version 4 repositories support storage of packages for multiple publishers.

Use the set subcommand to specify new property values.

# pkgrepo set -s /export/repoSolaris11 \
repository/description="Local copy of the Oracle Solaris 11 repository" \
repository/name="Oracle Solaris 11 Package Repository"
# pkgrepo get -s /export/repoSolaris11
SECTION PROPERTY VALUE
publisher prefix solaris
repository description Local\ copy\ of\ the\ Oracle\ Solaris\ 11\ repository
repository name Oracle\ Solaris\ 11\ Package\ Repository
repository version 4
The following command displays property information about the solaris publisher in the local repository. The parentheses indicate that the particular value can be a list of values.

$ pkgrepo get -p solaris -s /export/repoSolaris11
PUBLISHER SECTION PROPERTY VALUE
solaris publisher alias
solaris publisher prefix solaris
solaris repository collection-type core
solaris repository description ""
solaris repository legal-uris ()
solaris repository mirrors ()
solaris repository name ""
solaris repository origins ()
solaris repository refresh-seconds ""
solaris repository registration-uri ""
solaris repository related-uris ()
collection-type
The core collection type indicates that the repository contains all of the dependencies declared by packages in the repository.

legal-uris
The legal-uris is a list of locations for documents that provide legal information about the repository.

origins
The origins is a list of locations of repositories that contain a complete copy of this repository's package metadata and content.

related-uris
The related-uris is a list of locations of repositories that contain packages that users might be interested in.

See the pkgrepo(1) man page for descriptions of other publisher and repository properties.

The following command displays information about the specified section/property in the pkg.oracle.com repository.

$ pkgrepo get -p solaris -s http://pkg.oracle.com/solaris/release \
repository/name repository/description
PUBLISHER SECTION PROPERTY VALUE
solaris repository description This\ repository\ serves\ the\ Oracle\ Solaris\ 11\ Package\
repository.
solaris repository name Oracle\ Solaris\ 11\ Package\ Repository
Notice that the repository description and repository name property values are not set for the solaris publisher in the local repository. To provide values for publisher properties, use the set subcommand as shown above, specifying the publisher name as well. The publisher repository/name value is displayed on the browser interface near the top of the page and as the page title. The publisher repository/description value is displayed on the browser interface in the About section just below the name.

# pkgrepo set -p solaris -s /export/repoSolaris11 \
repository/description="Local copy of the Oracle Solaris 11 repository" \
repository/name="Oracle Solaris 11 Package Repository"
# pkgrepo get -p solaris -s /export/repoSolaris11
PUBLISHER SECTION PROPERTY VALUE
solaris publisher alias
solaris publisher prefix solaris
solaris repository collection-type core
solaris repository description Local\ copy\ of\ the\ Oracle\ Solaris\ 11\ repository
solaris repository legal-uris ()
solaris repository mirrors ()
solaris repository name Oracle\ Solaris\ 11\ Package\ Repository
solaris repository origins ()
solaris repository refresh-seconds ""
solaris repository registration-uri ""
solaris repository related-uris ()

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.