[OpenIndiana-discuss] Broken pkg in ipkg zones since update to oi_151a5

Open Indiana openindiana at out-side.nl
Thu Jul 5 10:11:32 UTC 2012


Same at my side.

Pkg search doesn't find anything within a zone I created today



-----Original Message-----
From: Sašo Kiselkov [mailto:skiselkov.ml at gmail.com]
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
OpenIndiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss





More information about the OpenIndiana-discuss mailing list