Solaris 11.3 - 시스템/헤더를 설치할 수 없습니다.

Solaris 11.3 - 시스템/헤더를 설치할 수 없습니다.

저는 Solaris 11.3에 GCC를 설치하려고 (실패했습니다) 많은 문제에 부딪혔습니다. 현재 문제는 "pkg://solaris/system/header" 패키지를 설치할 수 없다는 것입니다.

설치(pkg install system/header)를 시도할 때마다 다음 오류가 발생합니다.

    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/[email protected]
                 to
             pkg://solaris/system/[email protected]   
    Reason:  This version is excluded by installed incorporation consolidation/osnet/[email protected]

이는 또한 "시스템/헤더" 패키지가 전혀 설치되어 있지 않음을 보여줍니다.

root@Sola:~# pkg list -fa system/header
NAME (PUBLISHER)                                  VERSION                    IFO
system/header                                     11.4-11.4.0.0.1.15.0       ---
system/header                                     0.5.11-0.175.3.1.0.3.0     ---
system/header                                     0.5.11-0.175.2.0.0.42.2    ---
system/header                                     0.5.11-0.175.1.0.0.24.2    ---
system/header                                     0.5.11-0.175.0.10.1.0.0    ---
system/header                                     0.5.11-0.175.0.0.0.2.1     ---
system/header                                     0.5.11-0.151.0.1           ---

내 시스템 버전을 표시하는 "pkg 전체" 파일도 다음과 같습니다.

root@Sola:~# pkg info entire
             Name: entire
          Summary: entire incorporation including Support Repository Update (Oracle Solaris 11.3.17.5.0).
      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:
                   https://support.oracle.com/rs?type=doc&id=2045311.1
         Category: Meta Packages/Incorporations
            State: Installed
        Publisher: solaris
          Version: 0.5.11 (Oracle Solaris 11.3.17.5.0)
    Build Release: 5.11
           Branch: 0.175.3.17.0.5.0
   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/[email protected],5.11-0.175.3.17.0.5.0:20170217T020457Z

내가 해야 할 일은 이 컴퓨터에서 일부 코드를 컴파일하는 것뿐입니다.

편집하다: 팁을 주셔서 감사합니다. 아래는 pkg 게시자의 출력입니다. 언급한 대로 GCC를 설치하는 데 많은 어려움을 겪었습니다(유사한 "병합" 오류 발생). 그렇다면 이러한 문제가 관련되어 있는 것일까요?

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

편집 2: 어떻게든 전체 시스템을 표준화하거나 모든 기본 시스템 패키지를 표준 수준으로 상향/하향시켜 모두 호환되도록 하는 (쉬운) 방법이 있습니까? 대부분의 배포판에 일반적으로 제공되는 기본 시스템 패키지를 설치하는 것이 왜 그렇게 어려운지 잘 모르겠습니다.

답변1

패키지 저장소는 Solaris 11 릴리스를 가리키지만 출력에는 pkg info entire"지원 저장소 업데이트"에서 병합된 것으로 표시됩니다. 이는 해당 시스템이 Oracle 지원 라이센스를 받고 있음을 나타냅니다. 지원되는 시스템은 일반적으로 https://pkg.oracle.com/solaris/support/기본 저장소 대신 에 있는 패키지 저장소를 사용합니다 http://pkg.oracle.com/solaris/release/.

시스템에 아직 지원 계약이 적용되어 있는 경우 지원 패키지 저장소(자격 및 인증서를 결정해야 함)를 설정하고 최신 지원 저장소 업데이트를 받은 다음 필수 패키지를 설치할 수 있어야 합니다.

시스템이 더 이상 사용할 수 없는 지원 계약을 맺은 경우 회사와 일치하는 패키지에 액세스할 수 없게 되는데, 이는 귀하가 문의하는 문제인 것 같습니다. 최신 11.3 버전으로 다운그레이드하거나 현재 11.4 버전으로 업그레이드해야 합니다.

관련 정보