<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>I had that recently... just made sure I patched both sides
      identically before moving<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 11/20/17 11:26 AM, Serge Fonville
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOAS_+JcoDh5qttcE+Y92HS0yb_Q4kB+qioqh2b5VmGMTbGbnw@mail.gmail.com">
      <div dir="ltr">
        <div>Hi,<br>
          <br>
        </div>
        When I tried to attach a zone I got the following errors:<br>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">zoneadm
          -z web01 attach<br>
        </blockquote>
        <div><font size="1">Log File: /var/tmp/web01.attach_log.olaaFy<br>
                           Attach Path: /export/zones/web01/root<br>
                    Attach ZFS Dataset:
            rpool/export/zones/web01/ROOT/zbe-9<br>
            <br>
                            Installing: Using pre-existing data in
            zonepath<br>
                                 Cache: Using /var/pkg/publisher.<br>
              Updating non-global zone: Output follows<br>
            <br>
                            Evaluation: Packages in zone web01 are out
            of sync with the global zone. To proceed, retry with the -u
            flag.<br>
                                Result: Attach Failed.<br>
          </font></div>
        With the log file containing:
        <div><font size="1">[Mon Nov 20 18:02:28 CET 2017] Log File:
            /var/tmp/web01.attach_log.olaaFy<br>
            [Mon Nov 20 18:02:32 CET 2017]                Attach Path:
            /export/zones/web01/root<br>
            [Mon Nov 20 18:02:32 CET 2017]         Attach ZFS Dataset:
            rpool/export/zones/web01/ROOT/zbe-9<br>
            <br>
            [Mon Nov 20 18:02:32 CET 2017] existing<br>
            [Mon Nov 20 18:02:32 CET 2017]                 Installing:
            Using pre-existing data in zonepath<br>
            [Mon Nov 20 18:02:32 CET 2017]   Sanity Check: Passed. 
            Looks like an OpenSolaris system.<br>
            pkg: Search performance is degraded.<br>
            Run 'pkg rebuild-index' to improve search speed.<br>
            [Mon Nov 20 18:02:39 CET 2017]                      Cache:
            Using /var/pkg/publisher.<br>
            [Mon Nov 20 18:02:39 CET 2017]   Updating non-global zone:
            Output follows<br>
            <br>
            <br>
            pkg install: Invalid child image publisher configuration. 
            Child image publisher<br>
            configuration must be a superset of the parent image
            publisher configuration.<br>
            Please update the child publisher configuration to match the
            parent.  If the<br>
            child image is a zone this can be done automatically by
            detaching and<br>
            attaching the zone.<br>
            <br>
            The parent image has the following enabled publishers:<br>
                PUBLISHER 0: omnios<br>
                PUBLISHER 1: <a href="http://ms.omniti.com"
              moz-do-not-send="true">ms.omniti.com</a><br>
            <br>
            The child image has the following enabled publishers:<br>
                PUBLISHER 0: omnios<br>
            [Mon Nov 20 18:02:42 CET 2017]<br>
                            Evaluation: Packages in zone web01 are out
            of sync with the global zone. To proceed, retry with the -u
            flag.<br>
            [Mon Nov 20 18:02:44 CET 2017]                     Result:
            Attach Failed.<br>
          </font></div>
        <div><font size="1"><br>
          </font></div>
        <div>So I try to run  it with -u<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>zoneadm -z web01 attach -u<br>
          </div>
        </blockquote>
        <div><font size="1"> Log File: /var/tmp/web01.attach_log.TNaqaR<br>
                           Attach Path: /export/zones/web01/root<br>
                    Attach ZFS Dataset:
            rpool/export/zones/web01/ROOT/zbe-9<br>
            <br>
                            Installing: Using pre-existing data in
            zonepath<br>
                                 Cache: Using /var/pkg/publisher.<br>
              Updating non-global zone: Output follows<br>
            ERROR: Could not update attaching zone<br>
                                Result: Attach Failed.</font></div>
        <div><br>
          With the log file containing:</div>
        <div><font size="1">[Mon Nov 20 18:20:23 CET 2017] Log File:
            /var/tmp/web01.attach_log.TNaqaR<br>
            [Mon Nov 20 18:20:27 CET 2017]                Attach Path:
            /export/zones/web01/root<br>
            [Mon Nov 20 18:20:27 CET 2017]         Attach ZFS Dataset:
            rpool/export/zones/web01/ROOT/zbe-9<br>
            <br>
            [Mon Nov 20 18:20:27 CET 2017] existing<br>
            [Mon Nov 20 18:20:27 CET 2017]                 Installing:
            Using pre-existing data in zonepath<br>
            [Mon Nov 20 18:20:27 CET 2017]   Sanity Check: Passed. 
            Looks like an OpenSolaris system.<br>
            [Mon Nov 20 18:20:31 CET 2017]                      Cache:
            Using /var/pkg/publisher.<br>
            [Mon Nov 20 18:20:31 CET 2017]   Updating non-global zone:
            Output follows<br>
            <br>
            <br>
            pkg install: Invalid child image publisher configuration. 
            Child image publisher<br>
            configuration must be a superset of the parent image
            publisher configuration.<br>
            Please update the child publisher configuration to match the
            parent.  If the<br>
            child image is a zone this can be done automatically by
            detaching and<br>
            attaching the zone.<br>
            <br>
            The parent image has the following enabled publishers:<br>
                PUBLISHER 0: omnios<br>
                PUBLISHER 1: <a href="http://ms.omniti.com"
              moz-do-not-send="true">ms.omniti.com</a><br>
            <br>
            The child image has the following enabled publishers:<br>
                PUBLISHER 0: omnios<br>
            [Mon Nov 20 18:20:35 CET 2017] ERROR: Could not update
            attaching zone<br>
            [Mon Nov 20 18:20:36 CET 2017]                     Result:
            Attach Failed.</font><br>
          <br>
        </div>
        <div>On global zone:</div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div>pkg publisher<br>
          </div>
        </blockquote>
        <div><font size="1">PUBLISHER                   TYPE     STATUS
            P LOCATION<br>
            omnios                      origin   online F <a
              href="https://pkg.omniosce.org/r151022/core/"
              moz-do-not-send="true">https://pkg.omniosce.org/r151022/core/</a></font></div>
        <div><font size="1"><br>
          </font></div>
        Any help in resolving this greatly appreciated!!<br>
        <br>
        Thanks in advance!!
        <div><br clear="all">
          <div>
            <div>
              <div class="gmail_signature">
                <div dir="ltr">
                  <div>Kind regards/met vriendelijke groet,</div>
                  <div><br>
                  </div>
                  <div>Serge Fonville</div>
                  <div><br>
                  </div>
                  <a href="http://www.sergefonville.nl" target="_blank"
                    moz-do-not-send="true">http://www.sergefonville.nl</a></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OmniOS-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a>
<a class="moz-txt-link-freetext" href="http://lists.omniti.com/mailman/listinfo/omnios-discuss">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>