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/[email protected]: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/[email protected]: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/[email protected]' due to the following 
packages that depend on it:
       [email protected]
       [email protected]
       compatibility/[email protected]
       developer/[email protected]
     ...
       system/[email protected]
       system/zones/[email protected]
       text/[email protected]
       text/[email protected]

Have I run into a dead end, or is there a way out of this dilemma?



_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to