[oi-dev] Can not install any gcc compiler

Till Wegmueller toasterson at gmail.com
Fri Oct 21 15:10:36 UTC 2022



On 21/10/2022 11.50, Marcel Telka wrote:
> On Fri, Oct 21, 2022 at 04:44:54PM +0200, Udo Grabowski (IMK) wrote:
>> On 21/10/2022 16:14, Udo Grabowski (IMK) wrote:
>>> On 21/10/2022 15:59, Udo Grabowski (IMK) wrote:
>>>> ...
>>>> ro sunts /tmp # pkg install developer/gnu-binutils
>>>> Creating Plan (Solver setup): \
>>>> pkg install: No matching version of developer/gnu-binutils can be
>>>> installed:
>>>>     Reject:  pkg://openindiana.org/developer/gnu-binutils@2.39-2022.0.0.0
>>>>              pkg://openindiana.org/developer/gnu-binutils@2.39-2022.0.0.1
>>>>     Reason:  This version is excluded by installed incorporation
>>>> consolidation/userland/userland-incorporation at 0.5.11-2022.0.0.16641
>>>> ...
>>> The facet version locks are:
>>>
>>> ro sunts /tmp # pkg contents -m
>>> consolidation/userland/userland-incorporation at 0.5.11-2022.0.0.16641|grep
>>> binut
>>> depend facet.version-lock.SUNWbinutils=true fmri=SUNWbinutils at 2.19-0.133
>>> type=incorporate
>>> depend facet.version-lock.developer/gnu-binutils=true
>>> fmri=developer/gnu-binutils at 2.38-2022.0.0.0 type=incorporate
>>>
>>> and SUNWbinutils is shown as 'renamed'. 'pkg install SUNWbinutils'
>>> leads to the same error.
>>
>> And another such instance: pkg install system/header
>>
>> pkg install: No matching version of system/header can be installed:
>>    Reject:  pkg://openindiana.org/system/header@0.5.11-2022.0.0.21284
>>               to
>>             pkg://openindiana.org/system/header@0.5.11-2022.0.0.21323
>>    Reason:  This version is excluded by installed incorporation
>> consolidation/osnet/osnet-incorporation at 0.5.11-2022.0.0.21248
>>
>> ro sunts /tmp # pkg contents -m
>> consolidation/osnet/osnet-incorporation at 0.5.11-2022.0.0.21248|grep
>> system/header
>>
>> depend fmri=pkg:/system/header at 0.5.11,5.11-2022.0.0.21248 type=incorporate
>>
>> 21284 vs. 21248  typo ? random coincidence ?
> 
> I'm sorry, but you need to update the whole system (pkg update).
> 
> Packages you try to install (at version locked by your old
> incorporations) are no longer in the pkg repo so you simply cannot
> install them.  ... and newer versions cannot be installed because your
> old incorporations rejects them.
> 
> 
> HTH.
> 

A small addition at the moment is, that illumos-gate has a small bug in 
the osnet-incorporation. you will need to uninstall 
system/library/processor as it still has an incorporate entry in 
osnet-incorporation but has been obsoleted. Than make an update and then 
you are able to install as previously.

-Till



More information about the oi-dev mailing list