`<div dir="ltr">I still have a problem with upgrading to 151008 my first testing host, running some non-global zones. I think the cause of my problems is absence of packages built for 151008 in omniti-ms repository.<div><br>
<div>Global zone upgraded per instructions without problems. When I tried attaching with '-u' non-global zones, it failed. </div><div>Running 'pkg -R <zonepath>/root -u' for these zones from global zones revealed that they have lost all publishers. </div>
<div>Readding publishers with 'pkg -R <zonepath>/root pkg set-publisher -g <url> <publisher>' and then running </div><div>'pkg -R <zonepath>/root update' worked for some of the zones. But some completed update very fast, without much of work done:</div>
<div>---</div><div><pre style="color:rgb(0,0,0)"># pkg -R <zonepath>/root/ update
Packages to update: 7
Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB)
Completed 7/7 151/151 6.1/6.1
PHASE ACTIONS
Install Phase 5/5
Update Phase 163/163
PHASE ITEMS
Package State Update Phase 14/14
Package Cache Update Phase 7/7
Image State Update Phase 2/2
---------------------------------------------------------------------------
NOTE: Please review release notes posted at:
<a href="http://omnios.omniti.com/ReleaseNotes">http://omnios.omniti.com/ReleaseNotes</a>
---------------------------------------------------------------------------</pre></div><div>---</div><div>I looked at the list of packages installed there by 'pkg -R ... list' and saw not any package from 151008 release! </div>
<div>I tried running 'pkg -R ... update' second time, I got:</div><div>---</div><div><pre style="color:rgb(0,0,0)"># pkg -R <zonepath>/root/ update
Creating Plan |
pkg update: No solution was found to satisfy constraints
Plan Creation: Package solver has not found a solution to update to latest available versions.
This may indicate an overly constrained set of packages are installed.
latest incorporations:
pkg://omnios/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151008:20131204T022427Z
pkg://omnios/incorporation/jeos/omnios-userland@11,5.11-0.151008:20131206T160517Z
pkg://omnios/entire@11,5.11-0.151008:20131205T195242Z
pkg://omnios/incorporation/jeos/illumos-gate@11,5.11-0.151008:20131204T024149Z
Dependency analysis is unable to determine exact cause.
Try specifying expected results to obtain more detailed error messages.</pre><pre style="color:rgb(0,0,0)">---</pre><pre style="color:rgb(0,0,0)">Then I was trying to update these packgages one by one in -R <zonepath>/root, and I think I saw the cause of my problem:</pre>
<pre style="color:rgb(0,0,0)">---</pre><pre style="color:rgb(0,0,0)"><pre style># pkg -R <zonepath>/root/ install pkg://omnios/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151008:20131204T022427Z
Creating Plan /
pkg install: No matching version of consolidation/osnet/osnet-incorporation can be installed:
Reject: pkg://omnios/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151008:20131204T022427Z
Reason: This version is excluded by installed incorporation pkg://omnios/incorporation/jeos/illumos-gate@11,5.11-0.151006:20130506T183443Z
# pkg -R <zonepath>/root/ install pkg://omnios/incorporation/jeos/illumos-gate@11,5.11-0.151006:20130506T183443Z
No updates necessary for this image.
# pkg -R <zonepath>/root/ install pkg://omnios/incorporation/jeos/illumos-gate@11,5.11-0.151008
Creating Plan /
pkg install: No matching version of incorporation/jeos/illumos-gate can be installed:
Reject: pkg://omnios/incorporation/jeos/illumos-gate@11,5.11-0.151008:20131204T024149Z
Reason: This version is excluded by installed incorporation pkg://omnios/entire@11,5.11-0.151006:20131210T224515Z
# pkg -R <zonepath>/root/ install pkg://omnios/entire@11,5.11-0.151008
Creating Plan /
pkg install: No matching version of entire can be installed:
Reject: pkg://omnios/entire@11,5.11-0.151008:20131204T230829Z
pkg://omnios/entire@11,5.11-0.151008:20131205T191306Z
pkg://omnios/entire@11,5.11-0.151008:20131205T195242Z
Reason: This version is excluded by installed incorporation pkg://<a href="http://ms.omniti.com/omniti/database/postgresql-930@9.3.0,5.11-0.151006:20130918T174100Z">ms.omniti.com/omniti/database/postgresql-930@9.3.0,5.11-0.151006:20130918T174100Z</a>
This version is excluded by installed incorporation pkg://<a href="http://ms.omniti.com/omniti/library/uuid@1.41.14,5.11-0.151006:20131015T044739Z">ms.omniti.com/omniti/library/uuid@1.41.14,5.11-0.151006:20131015T044739Z</a></pre>
<pre style>---</pre><pre style>So, I think I have to wait until omniti-ms will have packages for new stable release, or to build these packages myself. </pre><pre style>-- </pre><pre style> Regards,</pre><pre style> Sergey Ivanov.</pre>
</pre></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 10, 2014 at 6:46 AM, Natxo Asenjo <span dir="ltr"><<a href="mailto:natxo.asenjo@gmail.com" target="_blank">natxo.asenjo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
to follow up in this issue, today I read in another post that updating<br>
pkg and ipkg should solve this, so I booted in<br>
r151008, updated pkg and ipkg in that BE and retried the zone attach command:<br>
<div class="im"><br>
# /usr/sbin/zoneadm -z zone1 attach -u<br>
</div>Log File: /var/tmp/zone1.attach_log.qDaiXc<br>
<div class="im"> Attach Path: /tank/zones/zone1/root<br>
Attach ZFS Dataset: tank/zones/zone1/ROOT/zbe-1<br>
<br>
Installing: Using pre-existing data in zonepath<br>
</div> Global zone version: entire@11,5.11-0.151008:20131205T195242Z<br>
Non-Global zone version: entire@11,5.11-0.151006:20130507T204959Z<br>
Cache: Using /var/pkg/publisher.<br>
Updating non-global zone: Output follows<br>
Creating Plan<br>
ERROR: Could not update attaching zone<br>
Result: Attach Failed.<br>
<br>
in the log file I see this:<br>
<br>
pkg set-publisher: Publisher 'omnios' is disabled and cannot be used<br>
for packaging operations.<br>
<br>
pkg install: The following pattern(s) did not match any allowable packages. Try<br>
using a different matching pattern, or refreshing publisher information:<br>
<br>
entire@11,5.11-0.151008:20131205T195242Z<br>
[January 10, 2014 12:37:28 PM CET] ERROR: Could not update attaching zone<br>
[January 10, 2014 12:37:29 PM CET] Result: Attach Failed.<br>
<br>
Any clues as to why this is failing? This is just a test zone, so it<br>
is not a big deal to wipe it and go on with my life, but I am just<br>
curious as to why it is failing.<br>
<br>
TIA,<br>
<br>
--<br>
Groeten,<br>
<div class="HOEnZb"><div class="h5">natxo<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Regards,<br>Sergey Ivanov | <a href="mailto:sergey57@gmail.com" target="_blank">sergey57@gmail.com</a><br><a href="http://www.linkedin.com/pub/sergey-ivanov/8/270/a09" target="_blank">http://www.linkedin.com/pub/sergey-ivanov/8/270/a09</a></div>
</div>
`