JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Copying and Creating Oracle Solaris 11 Package Repositories     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information


1.  Image Packaging System Package Repositories

2.  Copying IPS Package Repositories

3.  Providing Access To Your Repository

4.  Maintaining Your Local IPS Package Repository

Updating Your Local Repository

Checking and Setting Repository Properties

Customizing Your Local Repository

Serving Multiple Repositories Using Multiple Depot Server Instances

Depot Server Apache Configuration

Configuring Caching For the Depot Server

Cache Considerations For the Catalog Attributes File

Cache Considerations For Search

Running the Depot Server Behind a Web Proxy

Recommended Generic Apache Configuration Settings

Apache Configuration Examples

A Simple Prefixed Proxy Configuration

Multiple Repositories Under One Domain

Load Balanced Configurations

Complete Load Balanced Example

Updating Your Local Repository

Before you transfer newer packages into your local repository, make sure your repository server is running the same or a newer version of the Oracle Solaris 11 OS as the version for which the packages you plan to copy are built. For example, if the server is running Oracle Solaris 11 and you want to update your repository to the Oracle Solaris 11 Update 1 repository, update the server to Oracle Solaris 11 Update 1 before you update your repository.

Whether you used the pkgrecv command or .iso files to create your local IPS package repository, use the pkgrecv(1) command to update the repository. Only packages that have changed are updated. See the performance tips in Copy the Repository.

# pkgrecv -s -d /export/repoSolaris11 '*'

If you are going to be doing this update on a regular basis, you might want to use the PKG_SRC and PKG_DEST environment variables.

# export PKG_SRC=
# export PKG_DEST=/export/repoSolaris11
# pkgrecv '*'

After you have updated your repository, run the following command to catalog any new packages found in the repository and update all search indexes.

# pkgrepo -s /export/repoSolaris11 refresh
Initiating repository refresh.