[oi-dev] Am I stuck?

Volker A. Brandt vab at bb-c.de
Tue Jun 25 21:01:31 UTC 2019


Hi Gary!


> These are my publishers:
> 
>     # pkg publisher                      
>     PUBLISHER                   TYPE     STATUS P LOCATION
>     oi-userland                 origin   online F file:///export/home/mills/Downloads/code/oi-userland/sparc/repo/
>     v9os           (non-sticky) origin   online F file:///data/ips/
> 
> I just published all of illumos-gate to the oi-userland repository.
> There are now two copies of the
> consolidation/osnet/osnet-incorporation package.  This is the
> installed one:
> 
>     # pkg info consolidation/osnet/osnet-incorporation
>               Name: consolidation/osnet/osnet-incorporation
>            Summary: OS/Net consolidation incorporation
>        Description: This incorporation constrains packages from the OS/Net
>                     consolidation.
>              State: Installed
>          Publisher: v9os
>            Version: 0.5.11
>             Branch: 0.151100
>     Packaging Date: Wed Jul 27 07:12:37 2016
>               Size: 0.00 B
>               FMRI: pkg://v9os/consolidation/osnet/osnet-incorporation@0.5.11-0.151100:20160727T071237Z
>     
> This is the new one:
> 
>     # pkg info -r consolidation/osnet/osnet-incorporation
>               Name: consolidation/osnet/osnet-incorporation
>            Summary: OS/Net consolidation incorporation
>        Description: This incorporation constrains packages from the OS/Net
>                     consolidation.
>              State: Not installed
>          Publisher: oi-userland
>            Version: 0.5.11
>             Branch: 2018.0.0.0
>     Packaging Date: Sun Jun 23 22:35:19 2019
>               Size: 0.00 B
>               FMRI: pkg://oi-userland/consolidation/osnet/osnet-incorporation@0.5.11-2018.0.0.0:20190623T223519Z
> 
> I expected that `pkg update -nv' would offer to remove the installed
> incorporation and replace all of the old illumos-gate packages, over
> 200 of them, with the new illumos-gate packages.  It didn't do that.
> It did report that it would replace ten packages from the v9os
> publisher with newer versions from the oi-userland publisher, but this
> list didn't include any of the illumos-gate packages.

So it appears that pkg does not recognize the fact that version
0.5.11-2018.0.0.0:20190623T223519Z is newer than version
0.5.11-0.151100:20160727T071237Z -- correct?

> When I tried to remove the incorporation with pkg, I got this result:
[...]

I don't think that you are supposed to be able to remove the package
altogether.  You should, hovewer, be able to update it.

Do you also have an "entire" package?  If so, what version does it
have?


Regards -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt        Consulting and Support for Solaris-based Systems
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY            Email: vab at bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"




More information about the oi-dev mailing list