On 11/11/11 09:20 AM, Mike Gerdts wrote:
On Fri 11 Nov 2011 at 08:41AM, Ian Collins wrote:
Solaris 11 Express with the latest updates from the support repo.

I'm getting an odd problem creating zones and I wanted to check the
package list:

Package State Update Phase                     45/45
Image State Update Phase                         2/2
    Installing: Additional Packages (output follows)
Creating Planpkg: 'SUNWbip' matches multiple packages

ERROR: failed to install package

I removed SUNWbip from /usr/lib/brand/ipkg/pkgcreatezone and the
zone installed OK.  I'll add the package in the zone later.

Someone should have a look at a proper fix!
I believe that it is already fixed in


I think (but do not know) that you should be able to fix the problem you
are seeing with:

# pkg update pkg://solaris/system/zones/brand/ipkg

Based on the dependencies in that package, it looks like that will also
update pkg:/package/pkg to 0.5.11- as well.
Odd, I had done a pkg update to get the latest bits, so

pfexec pkg update pkg://solaris/system/zones/brand/ipkg
No updates available for this image.

The problem occurred both before and after the update.

Oh well, I was only adding the zone to make sure the upgrade to Solaris 11 worked OK on supported Express system!

Play time...

I'm sure there's a documented way that is a bit more customer friendly,
but there's another way that is much more fun...

Here begins a short tour through some of the bowels of packaging.  Most
of what I discuss below is not an interface.  It may change at any

First, I went to:


I clicked advanced search, entered "ipkg" (because I knew this was the
tail end of the package name) in the search field, selected "Show all
versions", then clicked the "Advanced Search" button.  It showed me a
list of packages, starting with:


which has a timestamp of October 25 (20111025).  That looked promising.
I clicked on the manifest and found the payload hash for pkgcreatezone
from this line:

file e95f13b8e67663890f420fc80814b62e473773e0 
chash=51dc959c9d234ed9b2c33897a81c84bc86a77178 group=bin mode=0755 owner=root 
path=usr/lib/brand/ipkg/pkgcreatezone pkg.csize=6642 pkg.size=19838

That told me that I could find the new pkgcreatezone at
Obvious, right?  :)

I saved that file, then used gzcat to see that all the package names are
now fully qualified.  Also, SUNWbip is no longer in the list.  If
SUNWbip were still needed, fully qualifying the name (e.g. pkg:/SUNWbip)
would have done the trick.

I really should have read all those caiman-discuss mails!


zones-discuss mailing list

Reply via email to