[OpenIndiana-discuss] pkg install problem after update

Carsten Grzemba grzemba at contac-dt.de
Thu Jan 10 12:39:14 UTC 2019


If you do not get any hint of the failing package with 
# pkg install -v -v -v build-essential
you can install the packages listed by 
# pkg contents -r -m build-essential
step by step and see which package install is failing. The perhaps a remove of the old package before install the new may help.
<signaturebeforequotedtext></signaturebeforequotedtext>
On 10.01.19 13:08, Marianne Spiller  <Marianne.Spiller at dfki.de> wrote: 
> 
> Hi,
> 
> after the colleagues moved our system to 2018.10 I get errors when I try 
> to work with oi-userland. The main problem at the moment is that I’m 
> not able to install the package build-essential with the error message 
> shown below (but I installed smartmontools without any issue, so pkg 
> install seems not to be a problem in general).
> 
> Please: what can I do to get my compiler back? :)
> 
> Cheers,
>  Marianne
> 
> 
> 
> 
> # uname -a
> SunOS zfs-2011 5.11 illumos-9b40c3052b i86pc i386 i86pc
> 
> # cat /etc/release
>  OpenIndiana Hipster 2018.10 (powered by illumos)
>  OpenIndiana Project, part of The Illumos Foundation (C) 
> 2010-2018
>  Use is subject to license terms.
>  Assembled 23 October 2018
> 
> 
> # pkg install pkg:/metapackages/build-essential at 1.0-2018.0.0.13
> Creating Plan (Checking for conflicting actions): /
> Traceback (most recent call last):
>  File "/usr/bin/pkg", line 5678, in handle_errors
>  __ret = func(*args, **kwargs)
>  File "/usr/bin/pkg", line 5664, in main_func
>  pargs=pargs, **opts)
>  File "/usr/bin/pkg", line 2123, in install
>  display_plan_cb=display_plan_cb, logger=logger)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
> line 1558, in _install
>  logger=logger)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
> line 1446, in __api_op
>  logger=logger, **kwargs)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
> line 1317, in __api_plan
>  display_plan_cb=display_plan_cb)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/client_api.py", 
> line 1289, in __api_plan
>  for pd in api_plan_func(**kwargs):
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
> 1525, in __plan_op
>  log_op_end_all=True)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
> 1153, in __plan_common_exception
>  six.reraise(exc_type, exc_value, exc_traceback)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/api.py", line 
> 1459, in __plan_op
>  self._img.make_install_plan(**kwargs)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line 
> 4353, in make_install_plan
>  reject_list=reject_list)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line 
> 4334, in __make_plan_common
>  self.__call_imageplan_evaluate(ip)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/image.py", line 
> 4247, in __call_imageplan_evaluate
>  ip.evaluate()
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/imageplan.py", 
> line 3249, in evaluate
>  self.__merge_actions()
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/imageplan.py", 
> line 3925, in __merge_actions
>  self.__find_all_conflicts()
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/imageplan.py", 
> line 2807, in __find_all_conflicts
>  gone_fmris, fmri_dict)
>  File "/usr/lib/python2.7/vendor-packages/pkg/client/imageplan.py", 
> line 2441, in __update_act
>  assert act.attrs[act.key_attr] == key
> AssertionError
> 
> 
> pkg: This is an internal error in pkg(5) version fdaa5606. Please log a
> Service Request about this issue including the information above and 
> this
> message.
> 
> 
> 
> 
> 
<signatureafterquotedtext></signatureafterquotedtext>


More information about the openindiana-discuss mailing list