Skip Navigation Links | |
Exit Print View | |
Copying and Creating Oracle Solaris 11.1 Package Repositories Oracle Solaris 11.1 Information Library |
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
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
A Simple Prefixed Proxy Configuration
You can create a repository that is a subset of the source repository. The following command copies all versions of the group/feature/amp package and all dependencies of those versions to the amprepo repository. The amprepo repository was previously created using the pkgrepo create command.
$ pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /export/amprepo \ -m all-versions -r group/feature/amp
You can add packages from different publishers to your repository. The following pkgrecv command adds all the packages from the ISVproducts.p5p package archive to the local repository. In the pkg list output, the publisher is shown because it is not the publisher that is highest ranked in search order in this image.
$ pkg list -g /tmp/ISVproducts.p5p NAME (PUBLISHER) VERSION IFO isvtool (isvpub) 1.0 --- $ pkgrecv -s /tmp/ISVproducts.p5p -d /export/repoSolaris11 '*' Processing packages for publisher isvpub ... Retrieving and evaluating 1 package(s)... PROCESS ITEMS GET (MB) SEND (MB) Completed 1/1 0.0/0.0 0.0/0 $ pkg list -g /export/repoSolaris11 isvtool NAME (PUBLISHER) VERSION IFO isvtool (isvpub) 1.0 ---
A package archive is a file that contains publisher information and one or more packages provided by that publisher. See Publish as a Package Archive in Packaging and Delivering Software With the Image Packaging System in Oracle Solaris 11.1.