`<div dir="ltr">Hi All,<div><br></div><div>I am trying to upgrade OmniOS but I keep getting network issue so I am think of setting up a local repo so that my internal servers can grab the upgrade file from the local repo, can someone teach me how to do? I followed the wiki but it is very confusing and I need to do this tomorrow.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks and Regards.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 5, 2015 at 10:18 PM, Volker A. Brandt <span dir="ltr"><<a href="mailto:vab@bb-c.de" target="_blank">vab@bb-c.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> How can I get all but exclude the kayak stuff from the pkgrecv?<br>
<br>
</span>You would have to create a list (using e.g. "pkgrepo list -s <your_repo>"<br>
or "pkg list -avf -g <your_repo>"), remove the kayak packages from that<br>
list, and pass the remaining pkg FMRIs to pkgrecv on the command line<br>
instead of the wildcard pattern at the end.<br>
<br>
I do that all the time using grep and cut and friends because I am too<br>
lazy to write a proper Perl script. :-)<br>
<br>
<br>
Regards -- Volker<br>
<span class="HOEnZb"><font color="#888888">--<br>
------------------------------------------------------------------------<br>
Volker A. Brandt Consulting and Support for Oracle Solaris<br>
Brandt & Brandt Computer GmbH WWW: <a href="http://www.bb-c.de/" target="_blank">http://www.bb-c.de/</a><br>
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY Email: <a href="mailto:vab@bb-c.de">vab@bb-c.de</a><br>
Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgröße: 46<br>
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt<br>
<br>
"When logic and proportion have fallen sloppy dead"<br>
</font></span></blockquote></div><br></div></div>
`