[OpenIndiana-discuss] pkg install problem after update

Michal Nowak mnowak at startmail.com
Fri Jan 11 19:59:45 UTC 2019


On 01/10/19 01:08 PM, Marianne Spiller 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.
> 
> 
> 
> _____________________________________________________________________________ 
> 
> 
> Marianne Spiller - Infrastrukturgruppe DFKI - Campus D3.2 - 66123 
> Saarbrücken
> Phone: (+49) 681 85775-7741
> Fax: (+49) 861 85775-5020
> Email: Marianne.Spiller at dfki.de
> 
> Deutsches Forschungszentrum für Künstliche Intelligenz GmbH,
> Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany, www.dfki.de *
> Geschäftsführung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vors.),
> Dr. Walter Olthoff * Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans
> A. Aukes * Amtsgericht Kaiserslautern, HRB 2313
> _____________________________________________________________________________ 
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

Marianne,

this issue is https://www.illumos.org/issues/10169.

Now it should be fixed by following commits:
* 
https://github.com/OpenIndiana/pkg5/commit/86654b0040d31169695ea2d417b3fec32bf91d4a
* 
https://github.com/OpenIndiana/oi-userland/commit/0f8cee2864f037d8f67519567e935d4f6583d6a6
* 
https://github.com/OpenIndiana/oi-userland/commit/961188be65d8f61ef8889a3041dc27cbc07a1d16

Can you re-try the action, which used to fail and report back, please?

Thanks,
Michal



More information about the openindiana-discuss mailing list