I found out gcc is 32-bit binary and I want to compile some 64-bit apps. It shouldn't matter since I successfully compiled DBI perl module earlier.
While I was trying to update gcc, it didn't work because it was part of "consolidation/userland/userland-incorporation":
Code: Select all
orautil02:/%pkg install pkg://solaris/developer/gcc-45@4.5.2,5.11-0.175.1.0.0.24.0:20120904T171315Z
Creating Plan /
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: This version is excluded by installed incorporation pkg://solaris/consolidation/userland/userland-incorporation@0.5.11,5.11-0.175.0.0.0.2.537:20111019T091357Z
Code: Select all
orautil02:/%pkg update pkg://solaris/consolidation/userland/userland-incorporation@0.5.11,5.11-0.175.1.0.0.24.0:20120904T170613Z
Creating Plan -
pkg update: No matching version of consolidation/userland/userland-incorporation can be installed:
Reject: pkg://solaris/consolidation/userland/userland-incorporation@0.5.11,5.11-0.175.1.0.0.24.0:20120904T170613Z
Reason: This version is excluded by installed incorporation pkg://solaris/entire@0.5.11,5.11-0.175.0.0.0.2.0:20111020T143822Z
Code: Select all
orautil02:/%pkg update entire
Packages to install: 7
Packages to update: 259
Mediators to change: 1
Create boot environment: Yes
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB)
Completed 266/266 9002/9002 255.4/255.4$<3>
PHASE ACTIONS
Removal Phase 2376/2376
Install Phase 2727/2727
Update Phase 11134/11134
PHASE ITEMS
Package State Update Phase 525/525
Package Cache Update Phase 259/259
Image State Update Phase 2/2
A clone of solaris exists and has been updated and activated.
On the next boot the Boot Environment solaris-1 will be
mounted on '/'. Reboot when ready to switch to this updated BE.
Boot environments list:
Code: Select all
orautil02:/%beadm list
BE Active Mountpoint Space Policy Created
-- ------ ---------- ----- ------ -------
solaris N / 11.46M static 2012-04-17 13:24
solaris-1 R - 8.82G static 2014-02-04 17:27