Originally posted by: ctremel
this is a real mess, please fix asap.
root@kug01123: /root # rpm -qi python
Name : python
Version : 2.7.15
Release : 3
Architecture: ppc
Install Date: Tue Jan 29 13:21:27 2019
Group : Development/Languages
Size : 85738810
License : Modified CNRI Open Source License
Signature : (none)
Source RPM : python-2.7.15-3.src.rpm
Build Date : Wed Jan 2 14:14:28 2019
Build Host : aixoss-automation-3.in.ibm.com
Relocations : /opt/freeware
/root # yum list installed
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
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/opt/freeware/share/yum-cli/yummain.py", line 288, in user_main
errcode = main(args)
File "/opt/freeware/share/yum-cli/yummain.py", line 140, in main
result, resultmsgs = base.doCommands()
File "/opt/freeware/share/yum-cli/cli.py", line 440, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/opt/freeware/share/yum-cli/yumcommands.py", line 304, in doCommand
ypl = base.returnPkgLists(extcmds, installed_available=highlight)
File "/opt/freeware/share/yum-cli/cli.py", line 1006, in returnPkgLists
ignore_case=True)
File "/opt/freeware/lib/python2.7/site-packages/yum/__init__.py", line 2319, in doPackageLists
avail = self.pkgSack.returnNewestByNameArch(patterns=patterns,
File "/opt/freeware/lib/python2.7/site-packages/yum/__init__.py", line 900, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/opt/freeware/lib/python2.7/site-packages/yum/__init__.py", line 681, in _getSacks
self.repos.populateSack(which=repos)
File "/opt/freeware/lib/python2.7/site-packages/yum/repos.py", line 294, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 164, in populate
if self._check_db_version(repo, mydbtype):
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 222, in _check_db_version
return repo._check_db_version(mdtype)
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 1264, in _check_db_version
repoXML = self.repoXML
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 1463, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 1455, in _getRepoXML
self._loadRepoXML(text=self)
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 1445, in _loadRepoXML
return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 1420, in _groupLoadRepoXML
if self._commonLoadRepoXML(text):
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 1248, in _commonLoadRepoXML
self._repoXML = self._parseRepoXML(result)
File "/opt/freeware/lib/python2.7/site-packages/yum/yumRepo.py", line 1044, in _parseRepoXML
return repoMDObject.RepoMD(self.id, local)
File "/opt/freeware/lib/python2.7/site-packages/yum/repoMDObject.py", line 124, in __init__
self.parse(srcfile)
File "/opt/freeware/lib/python2.7/site-packages/yum/repoMDObject.py", line 139, in parse
ignore_missing=True, ignore_none=True)
File "/opt/freeware/lib/python2.7/site-packages/yum/misc.py", line 306, in __init__
self.checksums = Checksums(checksums, ignore_missing, ignore_none)
File "/opt/freeware/lib/python2.7/site-packages/yum/misc.py", line 242, in __init__
sumalgo = hashlib.new(sumtype)
File "/opt/freeware/lib/python2.7/hashlib.py", line 116, in __py_new
return __get_builtin_constructor(name)(string)
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