On 04/04/2010 02:45, Shawn Walker wrote:
On 04/ 3/10 06:37 AM, Robert Milkowski wrote:
On 02/04/2010 18:48, Shawn Walker wrote:
On 04/ 1/10 07:08 PM, Robert Milkowski wrote:
Hi,

For some reason I can't install a zone right now after I added the
pkg-eu-2 as origing.
Making it a mirror or removing it entirely doesn't help.
Before I added it zone creation worked fine (yesterday) but it might be
just a coincidence and there is some other issue here...
...
Any idea what's wrong?

If you're willing to try this...

In the /usr/lib/brand/ipkg directory, change the following:

 * attach:387:LC_ALL=C $PKG list --no-refresh -a $gz_entire_fmri >
/dev/null 2>&1

   -- replace '-a' with '-af'

If that works, then a bug needs to be filed.

-Shawn


It didn't help...

mi...@r600:~# cp /usr/lib/brand/ipkg/attach /usr/lib/brand/ipkg/attach.orig
mi...@r600:~# vi /usr/lib/brand/ipkg/attach
mi...@r600:~# zoneadm -z jumpstart uninstall
Are you sure you want to uninstall zone jumpstart (y/[n])? y
mi...@r600:~# zoneadm -z jumpstart install
A ZFS file system has been created for this zone.
    Publisher: Using opensolaris.org (http://pkg.opensolaris.org/dev/ ).
    Publisher: Using blastwave (http://blastwave.network.com:10000/).
Publisher: Using jucr-pending (http://jucr.opensolaris.org/pending/).
    Publisher: Using contrib.opensolaris.org
(http://pkg.opensolaris.org/contrib/).
        Image: Preparing at /rpool/zones/jumpstart/root.
        Cache: Using /var/pkg/download.
Sanity Check: Looking for 'entire' incorporation.
ERROR: Unable to locate the incorporation
'[email protected],5.11-0.132:20100130T123058Z' in the preferred publisher
'opensolaris.org'.
Use -P to supply a publisher which contains this package.
mi...@r600:~#

What is the output of 'pkg info entire' in the global and non-global zones?

-Shawn


I can't create a local zone right now so below is an output from a global zone only.

mi...@r600:~# pkg info entire
          Name: entire
       Summary: incorporation to lock all system packages to same build
   Description: incorporation to lock all system packages to same build
         State: Installed
     Publisher: opensolaris.org
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.132
Packaging Date: 30 January 2010 12:30:58
          Size: 0.00 B
FMRI: pkg://opensolaris.org/[email protected],5.11-0.132:20100130T123058Z
mi...@r600:~# pkg info -r entire
          Name: entire
       Summary: incorporation to lock all system packages to same build
   Description: incorporation to lock all system packages to same build
         State: Not installed
     Publisher: opensolaris.org
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.134
Packaging Date:  2 March 2010 02:30:03
          Size: 0.00 B
FMRI: pkg://opensolaris.org/[email protected],5.11-0.134:20100302T023003Z
mi...@r600:~#


--
Robert Milkowski
http://milek.blogspot.com

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to