Something strange has happened on the server. As I told in a previous message I installed a zone 3 days ago without problems. I renamed this server in my puttylog to "3dayszone", the serverzone is installed today is "testzone"
If you look closely, you can see both are having the old pkg version. But on the 3dayszone is can install every package without problem! root@power-usage:~# zonename global root@power-usage:~# pkg version 5d2771134f21+ root@power-usage:~# zlogin -C testzone [Connected to zone 'testzone' console] root@testzone:~# uname -v oi_151a4 root@testzone:~# uname -a SunOS testzone 5.11 oi_151a4 i86pc i386 i86pc root@testzone:~# pkg version 4d886e93dafc root@testzone:~# ~. [Connection to zone 'testzone' console closed] root@power-usage:~# zlogin -C 3dayszone [Connected to zone '3dayszone' console] root@3dayszone:~/downloads# uname -v oi_151a4 root@3dayszone:~/downloads# uname -a SunOS 3dayszone 5.11 oi_151a4 i86pc i386 i86pc root@3dayszone:~/downloads# pkg version 4d886e93dafc root@3dayszone:~/downloads# pkg search amp INDEX ACTION VALUE PACKAGE description set Cluster containing an AMP (Apache, MySQL, PHP) deployment kit pkg:/web/[email protected] pkg.summary set Cluster containing an AMP (Apache, MySQL, PHP) deployment kit pkg:/web/[email protected] incorporate depend [email protected] pkg:/consolidation/sfw/[email protected] basename dir usr/lib/python2.6/vendor-packages/elisa/plugins/amp pkg:/desktop/media-player/moovida/[email protected] pkg.fmri set openindiana.org/amp pkg:/[email protected] pkg.fmri set openindiana.org/web/amp pkg:/web/[email protected] root@3dayszone:~/downloads# I tried installing pkg5 on both zones. (just took a random package for test) On 3dayszone it installed without problems. It failed at the testzone. My guess is that there is mismatch in 'lib/libc.so.1' and not in the pkg version. -----Original Message----- From: Sašo Kiselkov [mailto:[email protected]] Sent: woensdag 4 juli 2012 23:38 To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] Broken pkg in ipkg zones since update to oi_151a5 On 07/04/2012 11:09 PM, Sašo Kiselkov wrote: > Hi guys, > > I noticed that there's been an update published to openindiana.org > (oi_151a5) - great stuff, but the new version of pkg(1) in it broke > zone creation from oi_151a4 hosts. In short, here's the problem: > > * Global zone: oi_151a4 > * zoneadm -z newzone install <-- this fetches and installs pkg(1) > from openindiana.org for oi_151a5 > * zlogin newzone > * (in-newzone)# pkg publisher > pkg: No image found. > > The IPS database format has probably changed in such a way that the > new > pkg(1) doesn't recognize the old database. I've tested this numerous > times with the following pkg(1) versions and I can consistently > reproduce this: > > (global-zone)# pkg version > 5d2771134f21+ > > (non-global-zone)# pkg version > 4d886e93dafc > > A way to work around this is to re-generate the package database in > the non-global zone as follows: > # pkg image-create -f --zone --full -p http://pkg.openindiana.org/dev/ / > # pkg install entire # to ensure everything's properly installed > > When installing the non-global zone from an oi_151a5 global zone, this > doesn't occur (just tested on a second machine - yep, if global is > oi_151a5, all is good, otherwise, the non-global zone's pkg is broken). > Sure I'm not the only one who's seeing this, right? P.S. minor correction: my proposed fix doesn't actually work, so at present, zones are broken on openindiana oi_151a4 (at least for me). Cheers, -- Saso _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
