Solaris pkg
From Lolly's Wiki
Troubleshooting
Error: pkg: This is an internal error in pkg(7) version b'3beb69dcf209'. Please log a Service Request about this issue including the information above and this message.
Full output example:
# pkg update --accept --require-new-be --be-name solaris_11.4.27.1.82
Traceback (most recent call last):
File "/usr/bin/pkg", line 5668, in handle_errors
__ret = func(*args, **kwargs)
File "/usr/bin/pkg", line 5654, in main_func
pargs=pargs, **opts)
File "/usr/bin/pkg", line 2267, in update
display_plan_cb=display_plan_cb, logger=logger)
File "/usr/lib/python3.7/vendor-packages/pkg/client/client_api.py", line 1556, in _update
logger=logger)
File "/usr/lib/python3.7/vendor-packages/pkg/client/client_api.py", line 1395, in __api_op
logger=logger, **kwargs)
File "/usr/lib/python3.7/vendor-packages/pkg/client/client_api.py", line 1252, in __api_plan
display_plan_cb=display_plan_cb)
File "/usr/lib/python3.7/vendor-packages/pkg/client/client_api.py", line 1224, in __api_plan
for pd in api_plan_func(**kwargs):
File "/usr/lib/python3.7/vendor-packages/pkg/client/api.py", line 1516, in __plan_op
log_op_end_all=True)
File "/usr/lib/python3.7/vendor-packages/pkg/client/api.py", line 1144, in __plan_common_exception
six.reraise(exc_type, exc_value, exc_traceback)
File "/usr/lib/python3.7/vendor-packages/six.py", line 703, in reraise
raise value
File "/usr/lib/python3.7/vendor-packages/pkg/client/api.py", line 1429, in __plan_op
self.__refresh_publishers()
File "/usr/lib/python3.7/vendor-packages/pkg/client/api.py", line 620, in __refresh_publishers
self.__cert_verify()
File "/usr/lib/python3.7/vendor-packages/pkg/client/api.py", line 603, in __cert_verify
self._img.check_cert_validity()
File "/usr/lib/python3.7/vendor-packages/pkg/client/image.py", line 1338, in check_cert_validity
uri=uri)
File "/usr/lib/python3.7/vendor-packages/pkg/misc.py", line 1242, in validate_ssl_cert
if cert.has_expired():
File "/usr/lib/python3.7/vendor-packages/OpenSSL/crypto.py", line 1360, in has_expired
not_after = datetime.datetime.strptime(time_string, "%Y%m%d%H%M%SZ")
File "/usr/lib/python3.7/_strptime.py", line 277, in <module>
_TimeRE_cache = TimeRE()
File "/usr/lib/python3.7/_strptime.py", line 191, in __init__
self.locale_time = LocaleTime()
File "/usr/lib/python3.7/_strptime.py", line 71, in __init__
self.__calc_month()
File "/usr/lib/python3.7/_strptime.py", line 99, in __calc_month
a_month = [calendar.month_abbr[i].lower() for i in range(13)]
File "/usr/lib/python3.7/_strptime.py", line 99, in <listcomp>
a_month = [calendar.month_abbr[i].lower() for i in range(13)]
File "/usr/lib/python3.7/calendar.py", line 63, in __getitem__
return funcs(self.format)
ValueError: character U+30000043 is not in range [U+0000; U+10ffff]
pkg: This is an internal error in pkg(7) version b'3beb69dcf209'. Please log a
Service Request about this issue including the information above and this
message.
Workaround:
# unset $(env | awk -F'=' '$1 ~ /^LC_/{print $1;}')
# pkg update --accept --require-new-be --be-name solaris_11.4.27.1.82
Creating Plan (Package planning: 766/1256): \