[OpenIndiana-discuss] zoneadm attach -u failed

Carsten Grzemba grzemba at contac-dt.de
Thu Nov 23 17:09:12 UTC 2023


I want to reattach a local ipkg zone and run in an error:

Traceback (most recent call last):
 File "/usr/bin/pkg", line 5962, in handle_errors
 __ret = func(*args, **kwargs)
 File "/usr/bin/pkg", line 5947, in main_func
 return func(op=subcommand, api_inst=api_inst,
 File "/usr/bin/pkg", line 2268, in install
 out_json = client_api._install(op, api_inst, pargs,
 File "/usr/lib/python3.9/vendor-packages/pkg/client/client_api.py", line 1516, in _install
 return __api_op(op, api_inst, _accept=accept, _li_ignore=li_ignore,
 File "/usr/lib/python3.9/vendor-packages/pkg/client/client_api.py", line 1395, in __api_op
 ret = __api_plan(_op=_op, _api_inst=_api_inst,
 File "/usr/lib/python3.9/vendor-packages/pkg/client/client_api.py", line 1256, in __api_plan
 ret = __api_plan_exception(_op, _noexecute, _verbose,
 File "/usr/lib/python3.9/vendor-packages/pkg/client/client_api.py", line 1230, in __api_plan
 for pd in api_plan_func(**kwargs):
 File "/usr/lib/python3.9/vendor-packages/pkg/client/api.py", line 1578, in __plan_op
 self.__plan_common_exception(
 File "/usr/lib/python3.9/vendor-packages/pkg/client/api.py", line 1207, in __plan_common_exception
 six.reraise(exc_type, exc_value, exc_traceback)
 File "/usr/lib/python3.9/vendor-packages/six.py", line 719, in reraise
 raise value
 File "/usr/lib/python3.9/vendor-packages/pkg/client/api.py", line 1513, in __plan_op
 self._img.make_install_plan(**kwargs)
 File "/usr/lib/python3.9/vendor-packages/pkg/client/image.py", line 4509, in make_install_plan
 self.__make_plan_common(op, progtrack, check_cancel,
 File "/usr/lib/python3.9/vendor-packages/pkg/client/image.py", line 4492, in __make_plan_common
 self.__call_imageplan_evaluate(ip)
 File "/usr/lib/python3.9/vendor-packages/pkg/client/image.py", line 4404, in __call_imageplan_evaluate
 ip.evaluate()
 File "/usr/lib/python3.9/vendor-packages/pkg/client/imageplan.py", line 3879, in evaluate
 self.__evaluate_pkg_plans()
 File "/usr/lib/python3.9/vendor-packages/pkg/client/imageplan.py", line 4061, in __evaluate_pkg_plans
 pp.evaluate(self.__old_excludes, self.__new_excludes,
 File "/usr/lib/python3.9/vendor-packages/pkg/client/pkgplan.py", line 346, in evaluate
 dest_pub, self.image.trust_anchors,
 File "/usr/lib/python3.9/vendor-packages/pkg/client/image.py", line 352, in trust_anchors
 x509.load_pem_x509_certificate(
 File "/usr/lib/python3.9/vendor-packages/cryptography/x509/base.py", line 583, in load_pem_x509_certificate
 return rust_x509.load_pem_x509_certificate(data)
cryptography.utils.CryptographyDeprecationWarning: Parsed a negative serial number, which is disallowed by RFC 5280.



How can I fix this?

-- 
Carsten


More information about the openindiana-discuss mailing list