Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

solaris 11 Downloading only manifest files

user10646055Dec 4 2014 — edited Dec 9 2014

I can download solaris 11 repository by using pkgrecv command. This command will download manifests and payload.

eg: pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /tmp/cde -m all-versions -r /cde/locale

This command will download manifest and payload for all versions of package '/cde/locale' at location /tmp/cde

Once download command is successful my repository at /tmp/cde/publisher/solaris will look like following -

# ls /tmp/cde/publisher/solaris

catalog file pkg tmp trans

  • 'file' will contain actual payload
  • 'catalog' and 'pkg' contains manifests

What I want is a way to download only manifest files (that is 'catalog' and 'pkg') for the repository. I could not find a way to do that.

Manifest files are compared by pkg command, against solaris 11 server, to find missing or updated version of packages. I would like to download payload only if pkg command tells me that a particular package is missing.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 6 2015
Added on Dec 4 2014
6 comments
2,021 views