The http://pkg.oracle.com/solaris/release publisher is available on this server. A new repository
has been created in the /export/sllReaseRepo file system and you want to add the gzip package to
this repository. Which is a valid method for adding the gzip package to the /export/sllReleaseRepo
repository?
A.
pkgrecv –s http://pkg.oracle.com/solaris/release –d /export/sllReleaseRepo gzip
B.
pkgrecv –s /export/sllReleaseRepo –d http://pkg.oracle.com/solaris/release gzip
C.
pkgrecv –s pkgrecv –d /export/sllReleaseRepo gzip
D.
rsync –aP http://pkg.oracle.com/solaris/release –d /export/sllReleaseRepo gzip
Explanation:
* pkgrecv
– Image Packaging System content retrieval utility
pkgrecv allows the user to retrieve packages from a pkg repository or package archive. pkgrecv
can also optionally republish the retrieved packages to a different package repository or archive
them.
-s src_repo_uri
A URI representing the location of a pkg repository or package archive from which to receive
package data.
-d path_or_uri
The file system path or URI of the target to republish packages to. If -a is specified, the target is a
new package archive that cannot already exist. Otherwise, the target must be a package
repository that already exists. New repositories can be created using pkgrepo(1).
A