On 07/04/2010 01:46, Shawn Walker wrote:
On 04/ 6/10 07:44 PM, Robert Milkowski wrote:
On 06/04/2010 18:37, Shawn Walker wrote:
On 04/ 6/10 03:46 AM, Robert Milkowski wrote:
On 05/04/2010 18:32, Bart Smaalders wrote:
On 04/03/10 04:37, 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?



Odds are, the zones code is trying to keep your global
and local zones exactly in sync. The timestamps on the entire
incorp. are different, so this is failing. You may need to update
entire in the global zone first before trying to create any new zones.

The current zones code will be changed a lot before we're done; the
zones team is working on this.



Looks like it actually tries to install the same entire
revision/timestamp and pkg info -r lists that it is available from
pkg.opensolaris.org but still I get below error when trying to do
zoneadm install:

ERROR: Unable to locate the incorporation
'[email protected],5.11-0.132:20100130T123058Z' in the preferred publisher
'opensolaris.org'.


mi...@r600:~$ pkg info [email protected],5.11-0.132:20100130T123058Z
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 [email protected],5.11-0.132:20100130T123058Z
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:~$



I tried to install it manually and it worked:

mi...@r600:~# pkg -R /rpool/zones/jumpstart/root/ install
[email protected],5.11-0.132:20100130T123058Z


PHASE ACTIONS
Install Phase 1917/1917
PHASE ITEMS
Reading Existing Index 8/8
Indexing Packages 24/24
Optimizing Index...
PHASE ITEMS
Indexing Packages 24/24
mi...@r600:~#


so there seems to be something wrong with a ipkg brand code - once I'll
have some time I will try to look into it.

You may want to try upgrading to build 134 first before trying to
create zones -- there were several zone-related fixes that went in
fairly recently that may resolve your issue.

-Shawn


After upgrade to b134 it still doesn't work:

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.134:20100302T023003Z' in the preferred publisher
'opensolaris.org'.
Use -P to supply a publisher which contains this package.
mi...@r600:~#


I disabled jucr-pending repository and tried again:

mi...@r600:~# pkg set-publisher --disable jucr-pending
mi...@r600:~# pkg publisher
PUBLISHER TYPE STATUS URI
opensolaris.org (preferred) origin online http://pkg.opensolaris.org/dev/ contrib.opensolaris.org origin online http://pkg.opensolaris.org/contrib/ extra.opensolaris.org origin online https://pkg.sun.com/opensolaris/extra/ jucr-pending (disabled) origin online http://jucr.opensolaris.org/pending/
blastwave (disabled) origin online http://blastwave.network.com:10000/
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.
Installing: Core System (output follows)
DOWNLOAD PKGS FILES XFER (MB)
Completed 44/44 12305/12305 85.9/85.9

PHASE ACTIONS
Install Phase 17833/17833
No updates necessary for this image.
Installing: Additional Packages (output follows)
DOWNLOAD PKGS FILES XFER (MB)
Completed 36/36 3233/3233 20.6/20.6

PHASE ACTIONS
Install Phase 4329/4329

Note: Man pages can be obtained by installing SUNWman
Postinstall: Copying SMF seed repository ... done.
Postinstall: Applying workarounds.
Done: Installation completed in 942.949 seconds.

Next Steps: Boot the zone, then log into the zone console (zlogin -C)
to complete the configuration process.
mi...@r600:~#



so for some reason jucr.opensolaris.org/pending/ is causing an issue
when installing an ipkg zone.

Ah, that's probably this bug then:
  13233 /contrib packages should not depend on "entire"
  http://defect.opensolaris.org/bz/show_bug.cgi?id=13233

The only solution at the moment is to not use /contrib packages until they fix them.

-Shawn


I'm not convinced the bug is related. Please notice that I haven't disabled /contrib but /pending only. Also IIRC disabling a repository alone won't help if you hit by the bug - you need to uninstall packages which are causing issue and disabling a repository is not actually needed - I haven't done it as well yet just disabling /pending somehow helped.

Also it seems that it is
pkg list -af pkg://opensolaris.org/[email protected],5.11-0.134:20100302T023003Z

which is failing - see my other email I've just sent about it.



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

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

Reply via email to