<span id="result_box" class="medium_text"><span style="" title="">We
want to create a machine with packages OPENCSW and then duplicate the
same machine locally, can be used locally OPENCSW if you download all
the packages?</span></span><br><br><div class="gmail_quote">2010/7/12 Sebastian Kayser <span dir="ltr"><<a href="mailto:skayser@opencsw.org">skayser@opencsw.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">* Maciej (Matchek) Blizinski <<a href="mailto:blizinski@google.com">blizinski@google.com</a>> wrote:<br>
> No dia 12 de Julho de 2010 11:52, Guillaume Jaquet<br>
> <<a href="mailto:guillaume.jaquet@gmail.com">guillaume.jaquet@gmail.com</a>> escreveu:<br>
> > We utlise PKG-GET and we're happy, we would like to know how the PKG-GET is<br>
> > to find all the dependency of a package?<br>
><br>
> I'm not sure if you can do that with pkg-get. There's also pkgutil,<br>
> which also downloads and installs packages, but has additional<br>
> functionality. You could use the --nomod option. It'll tell you<br>
> which packages pkgutil would download. That would be a partial list<br>
> of dependencies -- this would only list the dependencies that aren't<br>
> already installed.<br>
><br>
> There's also the --stream option that can build a package stream (that<br>
> is, a .pkg file) which contains your designated package together with<br>
> all its dependencies. You could use this function to build the .pkg<br>
> file and then examine its contents.<br>
<br>
</div>One could use the download mode (-d) to determine the full list of<br>
package + dependencies.<br>
<br>
pkgutil -nd <pkg> 2>&1 | grep CSW<br>
<br>
Already installed packages don't make a difference. Just make sure to<br>
install the most recent pkgutil version.<br>
<font color="#888888"><br>
Sebastian<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.opencsw.org">users@lists.opencsw.org</a><br>
<a href="https://lists.opencsw.org/mailman/listinfo/users" target="_blank">https://lists.opencsw.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>