[oi-dev] Can not install any gcc compiler

Marcel Telka marcel at telka.sk
Fri Oct 21 15:21:10 UTC 2022


On Fri, Oct 21, 2022 at 12:10:36PM -0300, Till Wegmueller wrote:
> 
> 
> 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.

A small addition to what Till said: the problem he is referring to is
fixed since yesterday.  So if you update to
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2022.0.0.21322:20221020T010421Z
or
pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2022.0.0.21323:20221021T010028Z
you should no longer need to manually uninstall system/library/processor
before the update.

So, basically, simple 'pkg update' should now work again.  If it does
not then please let me know.


Regards.

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+



More information about the oi-dev mailing list