[oi-dev] pkg update Problems with python 3.5

Klaus Elsbernd Klaus.Elsbernd at posteo.de
Wed Oct 5 13:16:38 UTC 2022


Hello,

I setup a virtual machine running OpenIndiana with installation image 
OI-hipster-gui-20211031.iso. (the latest)

After setup I started pkg update. Since I follow the mailing list, I 
heard that python has been updated. Is this a problem? And where is the 
solution?

Rem.: I used to download/intall a copy of isfdb.org, which uses python 
2.7. I am a little sad that this version is no longer included, and or 
uninstalled.

Best regards

Klaus

Protocol of the update

root at openindiana:/export/home/isg# pkg update
Creating Plan (Solver einrichten): -
Traceback (most recent call last):
    File "/usr/lib/python3.5/vendor-packages/pkg/client/api.py", line 
1525, in __plan_op
    File "/usr/lib/python3.5/vendor-packages/pkg/client/image.py", line 
4640, in make_update_plan
    File "/usr/lib/python3.5/vendor-packages/pkg/client/image.py", line 
4480, in __make_plan_common
    File "/usr/lib/python3.5/vendor-packages/pkg/client/imageplan.py", 
line 1431, in plan_update
    File "/usr/lib/python3.5/vendor-packages/pkg/client/imageplan.py", 
line 1410, in __plan_update_solver
    File "/usr/lib/python3.5/vendor-packages/pkg/client/imageplan.py", 
line 474, in __run_solver
    File "/usr/lib/python3.5/vendor-packages/pkg/client/imageplan.py", 
line 1399, in solver_cb
    File "/usr/lib/python3.5/vendor-packages/pkg/client/pkg_solver.py", 
line 1370, in solve_update_all
    File "/usr/lib/python3.5/vendor-packages/pkg/client/pkg_solver.py", 
line 574, in __enforce_unique_packages
    File "/usr/lib/python3.5/vendor-packages/pkg/client/pkg_solver.py", 
line 2761, in __gen_dependency_clauses
    File "/usr/lib/python3.5/vendor-packages/pkg/client/pkg_solver.py", 
line 2831, in __gen_negation_clauses
    File "/usr/lib/python3.5/vendor-packages/pkg/client/pkg_solver.py", 
line 2831, in <listcomp>
MemoryError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
    File "/usr/bin/pkg", line 5968, in handle_errors
    File "/usr/bin/pkg", line 5954, in main_func
    File "/usr/bin/pkg", line 2292, in update
    File "/usr/lib/python3.5/vendor-packages/pkg/client/client_api.py", 
line 1572, in _update
    File "/usr/lib/python3.5/vendor-packages/pkg/client/client_api.py", 
line 1404, in __api_op
    File "/usr/lib/python3.5/vendor-packages/pkg/client/client_api.py", 
line 1258, in __api_plan
    File "/usr/lib/python3.5/vendor-packages/pkg/client/client_api.py", 
line 1230, in __api_plan
    File "/usr/lib/python3.5/vendor-packages/pkg/client/api.py", line 
1579, in __plan_op
    File "/usr/lib/python3.5/vendor-packages/pkg/client/api.py", line 
1171, in __plan_common_exception
    File "/usr/lib/python3.5/vendor-packages/pkg/client/api.py", line 
5498, in log_operation_end
    File "/usr/lib/python3.5/vendor-packages/pkg/client/history.py", 
line 828, in log_operation_end
      self.operation_result = result
    File "/usr/lib/python3.5/vendor-packages/pkg/client/history.py", 
line 377, in __setattr__
      op.end_time = misc.time_to_timestamp(None)
    File "/usr/lib/python3.5/vendor-packages/pkg/misc.py", line 128, in 
time_to_timestamp
MemoryError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
    File "/usr/bin/pkg", line 5975, in handle_errors
    File "/usr/lib/python3.5/vendor-packages/pkg/client/api.py", line 
813, in abort
    File "/usr/lib/python3.5/vendor-packages/pkg/client/history.py", 
line 778, in abort
      self.operation_result = result
    File "/usr/lib/python3.5/vendor-packages/pkg/client/history.py", 
line 377, in __setattr__
      op.end_time = misc.time_to_timestamp(None)
    File "/usr/lib/python3.5/vendor-packages/pkg/misc.py", line 128, in 
time_to_timestamp
MemoryError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
    File "/usr/bin/pkg", line 6155, in <module>
    File "/usr/bin/pkg", line 6110, in handle_errors
    File "/usr/lib/python3.5/vendor-packages/pkg/client/api.py", line 
813, in abort
    File "/usr/lib/python3.5/vendor-packages/pkg/client/history.py", 
line 778, in abort
      self.operation_result = result
    File "/usr/lib/python3.5/vendor-packages/pkg/client/history.py", 
line 377, in __setattr__
      op.end_time = misc.time_to_timestamp(None)
    File "/usr/lib/python3.5/vendor-packages/pkg/misc.py", line 128, in 
time_to_timestamp
MemoryError
Segmentation Fault (Speicherabzug geschrieben)






More information about the oi-dev mailing list