Does anyone have a script or other trick for doing bulk installations of Sun packages in streamed format, a.k.a. the .pkg files? The Sun pkgadd command won't let you specify multiple packages to install on the command line unless they are all unstreamed packages.

For example, if you have a bunch of .pkg files in /var/spool/pkg, you can't just say:
pkgadd -d /var/spool/pkg SUNWfoo SUNWbar SUNWbaz
because pkgadd isn't smart enough to look in the pile of .pkg files. It can only look in one .pkg file at a time with the -d option.

I'm hesitant to just copy the .pkg files over and then unstream them on the client because I really don't want to have the package lying around in two forms if I don't need to. By the same token, I don't want to unstream the packages on the CFEngine server due to CFEngine's inefficiency in copying multiple files over. I'd rather just copy over the single streamed package than multiple subdirectories.

Thanks,
Geoff


_______________________________________________
Help-cfengine mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to