Pkg update: No solution was found to satisfy constraints

I have an x86 Solaris box running 11.2 and have run into the following issue when attempting to run a package update. Has anyone else come across this issue and resolved it successfully, or am I waiting on Oracle to release other updated packages?

 

uname -a
SunOS <hostname> 5.11 11.2 i86pc i386 i86pc


pkg update -nv
Creating Plan (Running solver): -
pkg update: No solution was found to satisfy constraints
Plan Creation: Package solver has not found a solution to update to latest available versions.
This may indicate an overly constrained set of packages are installed.

latest incorporations:

  pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.2.1.0.4.0:20140728T200719Z
Dependency analysis is unable to determine exact cause.
Try specifying expected results to obtain more detailed error messages.

# pkg list -af sunpro-incorporation
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.2.1.0.4.0     ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.2.0.0.37.0    i--
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.1.0.0.19.0    ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.174.0.0.0.0.0     ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.151.0.1           ---


# pkg list -af entire
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.2.1.0.2.0     i--
entire                                            0.5.11-0.175.2.0.0.42.0    ---
entire                                            0.5.11-0.175.1.0.0.24.2    ---
entire                                            0.5.11-0.175.0.10.1.0.0    ---
entire                                            0.5.11-0.175.0.0.0.2.0     ---
entire                                            0.5.11-0.151.0.1           ---


Hi Nova_Cyclist,

Not 100% here, but it could be that the packages still have constraints and dependencies relating back to the good old "SUNW" packages and they may not be visible in the repository.

Also from memory I heard mention of this before and there was an update package available, but I think you had to file a SR with Oracle to get access to it.

Regards

Dave

Dave,

Thank you for your reply. This constraint issue popped up recently for me (after the initial 11.2 upgrade 'pkg update -nv' was clean). I think I am just waiting on some dependencies to get sorted and published on the Oracle side.

That or this is Oracle's new paywall for those using Solaris at home w/o $4k/year support contracts.

Thanks again,

Eamon

Hi,

Well Mr. Larry has to pay for his Yacht some how:)

Dave

1 Like

I have the same problem on an Oracle SPARC T5-4 server:

# uname -a
SunOS <hostname> 5.11 11.2 sun4v sparc sun4v
# pkg update -nv
Creating Plan (Running solver): /
pkg update: No solution was found to satisfy constraints
Plan Creation: Package solver has not found a solution to update to latest available versions.
This may indicate an overly constrained set of packages are installed.
 
latest incorporations:
 
  pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.2.1.0.4.0:20140728T200719Z
Dependency analysis is unable to determine exact cause.
Try specifying expected results to obtain more detailed error messages.

# pkg install -nv pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.2.1.0.4.0:20140728T200719Z
Creating Plan (Solver setup): \
pkg install: No matching version of consolidation/sunpro/sunpro-incorporation can be installed:
  Reject:  pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.2.1.0.4.0:20140728T200719Z
  Reason:  This version is excluded by installed incorporation pkg://solaris/entire@0.5.11,5.11-0.175.2.1.0.2.0:20140723T184046Z

# pkg list -af sunpro-incorporation
NAME (PUBLISHER)                                  VERSION                    IFO
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.2.1.0.4.0     ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.2.0.0.37.0    i--
consolidation/sunpro/sunpro-incorporation         0.5.11-0.175.1.0.0.19.0    ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.174.0.0.0.0.0     ---
consolidation/sunpro/sunpro-incorporation         0.5.11-0.151.0.1           ---
# pkg list -af entire              
NAME (PUBLISHER)                                  VERSION                    IFO
entire                                            0.5.11-0.175.2.1.0.2.0     i--
entire                                            0.5.11-0.175.2.0.0.42.0    ---
entire                                            0.5.11-0.175.1.0.0.24.2    ---
entire                                            0.5.11-0.175.0.10.1.0.0    ---
entire                                            0.5.11-0.175.0.0.0.2.0     ---
entire                                            0.5.11-0.151.0.1           ---

Any clues would be appreciated.

post removed opened as new thread...

Thank you, I've seen that one. Actually, I replied there, but my post was moved to this new thread.

Why dont you start by posting your very own issue data, rather than using someone else's

I have posted my own issue data.

His issue is the same as the one I had, the only difference is x86/sparc. I agree they are related to the packages installed and this additional data removes platform as a cause. I think tracking the issue in a single thread would be beneficial for others seeking an answer to the same issue, but I am a forum noob so I am going along with the mods.

Aristotle,

It may be helpful to know if you are running a supported copy of Solaris or the public release.

If you are unsure this is the command output for the public/unsupported release:

# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://pkg.oracle.com/solaris/release/

Oh yes.. Apologies...

Since you the thread owner agree and ask, I will try to re link them then (cross your fingers...)

2 Likes

I also have the public/unsupported release.

1 Like

It seems that this is the desired behavior of this incorporation package. (Perhaps I should have read this first) My take on their language below is that this incorporation is designed to lock all system package versions to the same release to prevent untested and/or incompatible packages from being installed. I think the output we are seeing is as Oracle desires and we are just holding until all of the packages are updated and a new 'entire' incorporation package is released.

 pkg info entire
          Name: entire
       Summary: Incorporation to lock all system packages to the same build
   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.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.2.0.0.42.0
Packaging Date: June 24, 2014 07:38:32 PM
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.2.0.0.42.0:20140624T193832Z
1 Like