Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Solaris 11 install issue

Status
Not open for further replies.

nyck

Technical User
Mar 10, 2004
447
GB
Hello,

I have just started using Solaris 11 and am trying to install gcc but it fails with the following error:-

pkg install gcc

pkg install: The following pattern(s) did not match any allowable packages. Try
using a different matching pattern, or refreshing publisher information:

gcc

How can I get this installed?

Cheers

Nick
 
Try looking in [tt]/usr/sfw/bin[/tt]. It may already be there.

If not, try this...

Code:
pkg install gcc-3
pkg install system/header

# or, for 4.5
pkg install gcc-45
pkg install system/header

 
Hello,

I tried that and it's also failing:-

pkg install gcc-45
Creating Plan (Solver setup): pkg install: No matching version of developer/gcc-45 can be installed:
Reject: pkg://solaris/developer/gcc-45@4.5.2,5.11-0.175.1.0.0.24.0:20120904T171315Z
Reason: All versions matching 'require' dependency pkg:/system/header are rejected
Reject: pkg://solaris/system/header@0.5.11,5.11-0.151.0.1:20101105T002136Z
pkg://solaris/system/header@0.5.11,5.11-0.175.0.0.0.2.1:20111019T073158Z
pkg://solaris/system/header@0.5.11,5.11-0.175.0.10.1.0.0:20120918T163136Z
pkg://solaris/system/header@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184855Z
Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.18.0.4.2:20140401T163824Z
root@parsun01:/usr/sfw/bin# pkg install 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,5.11-0.151.0.1:20101105T002136Z
pkg://solaris/system/header@0.5.11,5.11-0.175.0.0.0.2.1:20111019T073158Z
pkg://solaris/system/header@0.5.11,5.11-0.175.0.10.1.0.0:20120918T163136Z
pkg://solaris/system/header@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184855Z
Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.18.0.4.2:20140401T163824Z

I have another Solaris11 server and the above works fine so not really sure what is going on here?
 
Code:
Reason: All versions matching 'require' dependency pkg:/system/header are rejected

Maybe try the "[tt]pkg install system/header[/tt]" first?

 
Hello,

Still no luck with that either :-(

pkg install 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,5.11-0.151.0.1:20101105T002136Z
pkg://solaris/system/header@0.5.11,5.11-0.175.0.0.0.2.1:20111019T073158Z
pkg://solaris/system/header@0.5.11,5.11-0.175.0.10.1.0.0:20120918T163136Z
pkg://solaris/system/header@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184855Z
Reason: This version is excluded by installed incorporation pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.18.0.4.2:20140401T163824Z
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top