[OmniOS-discuss] zoneadm -z zone attach -u fails

Natxo Asenjo natxo.asenjo at gmail.com
Fri Jan 10 11:46:37 UTC 2014


hi,

to follow up in this issue, today I read in another post that updating
pkg and ipkg should solve this, so I booted in
r151008, updated pkg and ipkg in that BE and retried the zone attach command:

# /usr/sbin/zoneadm -z zone1 attach -u
Log File: /var/tmp/zone1.attach_log.qDaiXc
               Attach Path: /tank/zones/zone1/root
        Attach ZFS Dataset: tank/zones/zone1/ROOT/zbe-1

                Installing: Using pre-existing data in zonepath
       Global zone version: entire at 11,5.11-0.151008:20131205T195242Z
   Non-Global zone version: entire at 11,5.11-0.151006:20130507T204959Z
                     Cache: Using /var/pkg/publisher.
  Updating non-global zone: Output follows
Creating Plan
ERROR: Could not update attaching zone
                    Result: Attach Failed.

in the log file I see this:

pkg set-publisher: Publisher 'omnios' is disabled and cannot be used
for packaging operations.

pkg install: The following pattern(s) did not match any allowable packages.  Try
using a different matching pattern, or refreshing publisher information:

        entire at 11,5.11-0.151008:20131205T195242Z
[January 10, 2014 12:37:28 PM CET] ERROR: Could not update attaching zone
[January 10, 2014 12:37:29 PM CET]                     Result: Attach Failed.

Any clues as to why this is failing? This is just a test zone, so it
is not a big deal to wipe it and go on with my life, but I am just
curious as to why it is failing.

TIA,

--
Groeten,
natxo


More information about the OmniOS-discuss mailing list