[oi-dev] Am I stuck?

Norm Jacobs naj at snapcon.com
Wed Jun 26 00:28:12 UTC 2019


You might look at the 'entire' package and see if it constrains the 
'osnet-incorporation to the older version.  That is most likely the 
cause of your trouble.  You can probably remove the 'entire' package and 
then update.  You might also be able to unlock the incorporation before 
upgrading instead.

     -Norm


On 6/25/19 3:47 PM, Gary Mills wrote:
> 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.
>
> When I tried to remove the incorporation with pkg, I got this result:
>
>      # pkg uninstall -nv consolidation/osnet/osnet-incorporation
>      Creating Plan (Solver setup): -
>      pkg uninstall: Unable to remove 'consolidation/osnet/osnet-incorporation at 0.5.11-0.151100' due to the following packages that depend on it:
>        SUNWcs at 0.5.11-0.151100
>        SUNWcsd at 0.5.11-0.151100
>        compatibility/ucb at 0.5.11-0.151100
>        developer/astdev at 0.5.11-0.151100
>      ...
>        system/zones at 0.5.11-0.151100
>        system/zones/internal at 0.5.11-0.151100
>        text/doctools at 0.5.11-0.151100
>        text/locale at 0.5.11-0.151100
>
> Have I run into a dead end, or is there a way out of this dilemma?
>
>




More information about the oi-dev mailing list