Skip to main content

Solaris 11.3 - Unable to install system/header [Resolved]

I'm (unsuccessfully) trying to get GCC installed on Solaris 11.3 but am running into a lot of issues. My current issue is that I'm unable to install the package "pkg://solaris/system/header".

Everytime I try to install (pkg install system/header) I get the below error:

    root@Sola:~# pkg install -nv system/header 
    Creating Plan (Solver setup): - pkg install: No matching version of system/header can be installed:    
    Reject:  pkg://solaris/system/header@0.5.11-
    Reason:  This version is excluded by installed incorporation consolidation/osnet/osnet-incorporation@0.5.11-

And this also shows that I definitely don't have any "system/header" packages installed:

root@Sola:~# pkg list -fa system/header
NAME (PUBLISHER)                                  VERSION                    IFO
system/header                                     11.4-       ---
system/header                                     0.5.11-     ---
system/header                                     0.5.11-    ---
system/header                                     0.5.11-    ---
system/header                                     0.5.11-    ---
system/header                                     0.5.11-     ---
system/header                                     0.5.11-           ---

Also here's the "pkg entire" file to show the my system version:

root@Sola:~# pkg info entire
             Name: entire
          Summary: entire incorporation including Support Repository Update (Oracle Solaris
      Description: This package constrains system package versions to the same
                   build.  WARNING: Proper system update and correct package
                   selection depend on the presence of this incorporation.
                   Removing this package will result in an unsupported system.
                   For more information see:
         Category: Meta Packages/Incorporations
            State: Installed
        Publisher: solaris
          Version: 0.5.11 (Oracle Solaris
    Build Release: 5.11
   Packaging Date: Fri Feb 17 02:04:57 2017
Last Install Time: Sun Mar 12 07:33:24 2017
             Size: 5.46 kB
             FMRI: pkg://solaris/entire@0.5.11,5.11-

Any help/suggestions would be greatly appreciated, tearing my hair out trying to get this working (all I need to do is be able to compile some code on this silly machine)

EDIT: Thanks for the tip, below is the output from pkg publisher. As mentioned I've been having a lot of trouble trying to install GCC (with similar "incorporation" errors being given), so maybe these issues are related?

root@Sola:~# pkg publisher
solaris                     origin   online F

EDIT 2: Is there any (easy) way to somehow standardize the entire system or bring all basic system packages up/down to a standard level where they are all compatible? I'm not sure why it's so difficult to install what I thought would be basic system packages most distro's are normally shipped with :(

Question Credit: Ice Phoenix
Question Reference
Asked December 5, 2018
Posted Under: Unix Linux
1 Answers

Your package repository is pointing to the Solaris 11 release, but the pkg info entire output says your incorporation is from the "Support Repository Update." This would indicate that this system either is or used to be under an Oracle support license. A system under support would normally use the package repository located at instead of the default

If the system is still under a support contract, you should be able to setup the support package repository (requires figuring out entitlements and certificates) and get the newest Support Repository Update and then you should be able to install the packages you want.

If this system used to be under a support contract which is no longer available, then you would not have access to any of the packages that match your incorporation, which seems to be the issue you are asking about. You would either have to downgrade to the most recent 11.3 release or upgrade to the current 11.4 release.

credit: GracefulRestart
Answered December 5, 2018
Your Answer