<html><head></head><body><div class="ydp97499182yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
<div dir="ltr" data-setdir="false">I created a new local repo. Then set it to search first:</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>root@dsg11:/# pkg set-publisher --sticky --search-before openindiana.org -g file:///my-localrepo mylocalpublisher<br>root@dsg11:/# pkg publisher<br>PUBLISHER TYPE STATUS P LOCATION<br>mylocalpublisher origin online F file:///my-localrepo/<br>openindiana.org origin online F http://pkg.openindiana.org/hipster/<br>hipster-encumbered origin online F http://pkg.openindiana.org/hipster-encumbered/<br><br></div><div><br></div></div><div dir="ltr" data-setdir="false"><div>root@pluto:/# pkg install racket@7.7<br>Creating Plan (Checking for conflicting actions): -<br>pkg install: The requested change to the system attempts to install multiple actions<br>for dir 'opt' with conflicting attributes:<br><br> 1 package delivers 'dir group=bin mode=0755 owner=root path=opt':<br> pkg://mylocalpublisher/racket@7.7,5.11:20200511T142327Z<br> 1 package delivers 'dir group=sys mode=0755 owner=root path=opt':<br> pkg://openindiana.org/SUNWcs@0.5.11,5.11-2020.0.1.19662:20200503T194230Z<br><br><br>These packages cannot be installed together. Any non-conflicting subset<br>of the above packages can be installed.<br><br></div><div><br></div></div><div><br></div>
</div><div id="yahoo_quoted_0194567298" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Monday, May 11, 2020, 9:30:43 AM CDT, G B via oi-dev <oi-dev@openindiana.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv7916868061"><div><div class="yiv7916868061yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr">I attempted to create an IPS package of Racket, the programming language, and everything seemed to have worked correctly. But when I tried to install it from my local repository it fails.</div><div dir="ltr"><br></div><div dir="ltr"><div>root@pluto:/# pkg install racket<br><br>pkg install: The following pattern(s) only matched packages that are not available<br>for the current image's architecture, zone type, and/or other variant:<br> racket<br><div><br></div><div dir="ltr">These are the steps I used:</div><div dir="ltr"><span><pre class="yiv7916868061ydp277c27faprogramlisting"># pkgsend generate racket | pkgfmt > racket.p5m.1<br># cat racket_manifest<br><div dir="ltr">set name=pkg.fmri value=racket@7.7,5.11-0<br>set name=pkg.description value="Racket programming language"<br>set name=pkg.summary value="Racket is a general-purpose programming language as well as the world’s first ecosystem for language-oriented programming."<br>set name=variant.arch value=$(ARCH)<br><div dir="ltr"><pre class="yiv7916868061ydpfbc8c7d2programlisting"># pkgmogrify racket.p5m.1 racket_manifest | pkgfmt > racket.p5m.2<br><div dir="ltr"><pre class="yiv7916868061ydp90db3730programlisting"># pkgdepend generate -md racket racket.p5m.2 | pkgfmt > racket.p5m.3<br><span><pre class="yiv7916868061ydp787b8233programlisting"># pkgdepend resolve -m racket.p5m.3</pre></span><span><pre class="yiv7916868061ydpd89c2ed3programlisting"># pkglint racket.p5m.3.re<span><pre class="yiv7916868061ydp737c9f7aprogramlisting"># pkgrepo create local-repository<br><div dir="ltr"><pre class="yiv7916868061ydp2d9bcfecprogramlisting"># pkgrepo -s local-repository set publisher/prefix=localpublisher<br><span><pre class="yiv7916868061ydpc89aa7e0programlisting"># pkgsend -s local-repository publish -d racket racket.p5m.3.res</pre></span><span><pre class="yiv7916868061ydpa8654b5eprogramlisting"># pkg set-publisher -p local-repository</pre></span><span><pre class="yiv7916868061ydp376b5a0fprogramlisting"># pkg install racket</pre></span>Then I get the error shown above. This is on OpenIndiana 2020504. The working directory is racket and the tree is /racket/opt/racket-7.7<br><br>Thanks.<br></pre></div></pre></span><br></pre></span></pre></div> </pre></div><br></div><br></pre></span><div><br></div></div></div><div><br></div></div></div></div></div>_______________________________________________<br>oi-dev mailing list<br><a ymailto="mailto:oi-dev@openindiana.org" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a><br><a href="https://openindiana.org/mailman/listinfo/oi-dev" target="_blank">https://openindiana.org/mailman/listinfo/oi-dev</a><br></div>
</div>
</div></body></html>