|Skip Navigation Links|
|Exit Print View|
|Copying and Creating Oracle Solaris 11 Package Repositories Oracle Solaris 11 Information Library|
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 (isv.com) 1.0 --- # pkgrecv -s /tmp/ISVproducts.p5p -d /export/repoSolaris11 '*' Processing packages for publisher isv.com ... 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 (isv.com) 1.0 ---