My system is running fine and yum works fine till I update python. As soon as I update python to 2.7.18-1 (from 2.7.10-1)
# rpm -qa | grep py
pysqlite-1.1.7-2.ppc
python-pycurl-7.19.3-1.ppc
python-tools-2.7.10-1.ppc
python-2.7.10-1.ppc
python-iniparse-0.4-1.noarch
python-urlgrabber-3.10.1-1.noarch
python-devel-2.7.10-1.ppc
# lslpp -l | grep rpm
rpm.rte 4.15.1.0 COMMITTED RPM Package Manager
rpm.rte 4.15.1.0 COMMITTED RPM Package Manager
# rpm -qa | grep rpm
AIX-rpm-7.2.4.1-6.ppc
# oslevel -s
7200-04-02-2028
NOW I UPDATE PYTHON
yum update python
Updating:
python ppc 2.7.18-1 AIX_Toolbox 21 M
Updating for dependencies:
python-devel ppc 2.7.18-1 AIX_Toolbox 16 k
python-tools ppc 2.7.18-1 AIX_Toolbox 16 k
The update goes on fine but from then on yum fails as follows:
Any ideas?
openssl is not installed as an rpm
# lslpp -l | grep ssl
openssl.base 1.0.2.2100 COMMITTED Open Secure Socket Layer
openssl.license 1.0.2.2100 COMMITTED Open Secure Socket License
openssl.man.en_US 1.0.2.2100 COMMITTED Open Secure Socket Layer
openssl.base 1.0.2.2100 COMMITTED Open Secure Socket Layer
# yum check
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
File "/opt/freeware/lib/python2.7/hashlib.py", line 147, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/opt/freeware/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so) could not be loaded.
0509-152 Member libcrypto.so is not found in archive
0509-022 Cannot load module /opt/freeware/lib/python2.7/site-packages/pycurl.so.
0509-150 Dependent module /opt/freeware/lib/python2.7/site-packages/pycurl.so could not be loaded.
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.18 (default, May 4 2020, 03:46:51)
[GCC 8.3.0]
#AIX#Support#SupportMigration