after removing all perzl rpms with your destroyRPM script and running yum.sh, yum stays in a non functional state...
2020-01-26 08:31:14 (112 MB/s) - 'yum_bundle.tar' saved [54435840/54435840]
Installing rpm.rte at the latest version ...
This may take several minutes depending on the number of rpms installed...
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
WARNINGS
--------
Problems described in this section are not likely to be the source of any
immediate or serious failures, but further actions may be necessary or
desired.
Already Installed
-----------------
The number of selected filesets that are either already installed
or effectively installed through superseding filesets is 1. See
the summaries at the end of this installation for details.
NOTE: Base level filesets may be reinstalled using the "Force"
option (-F flag), or they may be removed, using the deinstall or
"Remove Software Products" facility (-u flag), and then reinstalled.
<< End of Warning Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
1 Selected to be installed, of which:
1 Already installed (directly or via superseding filesets)
----
0 Total to be installed
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
rpm.rte 4.13.0.10 Already installed
Extracting yum_bundle.tar ...
x ca-certificates-2016.10.7-2.aix6.1.ppc.rpm, 214726 bytes, 420 tape blocks
x curl-7.52.1-1.aix6.1.ppc.rpm, 533288 bytes, 1042 tape blocks
x db-4.8.24-3.aix6.1.ppc.rpm, 2897799 bytes, 5660 tape blocks
x gdbm-1.8.3-5.aix5.2.ppc.rpm, 56991 bytes, 112 tape blocks
x gettext-0.19.7-1.aix6.1.ppc.rpm, 4036762 bytes, 7885 tape blocks
x glib2-2.14.6-2.aix5.2.ppc.rpm, 1686134 bytes, 3294 tape blocks
x pysqlite-1.1.7-2.aix6.1.ppc.rpm, 51749 bytes, 102 tape blocks
x python-2.7.10-1.aix6.1.ppc.rpm, 23333701 bytes, 45574 tape blocks
x python-devel-2.7.10-1.aix6.1.ppc.rpm, 15366474 bytes, 30013 tape blocks
x python-iniparse-0.4-1.aix6.1.noarch.rpm, 37912 bytes, 75 tape blocks
x python-pycurl-7.19.3-1.aix6.1.ppc.rpm, 162093 bytes, 317 tape blocks
x python-tools-2.7.10-1.aix6.1.ppc.rpm, 830446 bytes, 1622 tape blocks
x python-urlgrabber-3.10.1-1.aix6.1.noarch.rpm, 158584 bytes, 310 tape blocks
x readline-6.1-2.aix6.1.ppc.rpm, 489547 bytes, 957 tape blocks
x sqlite-3.15.2-1.aix6.1.ppc.rpm, 3570302 bytes, 6974 tape blocks
x yum-3.4.3-7.aix6.1.noarch.rpm, 923981 bytes, 1805 tape blocks
x yum-metadata-parser-1.1.4-2.aix6.1.ppc.rpm, 62283 bytes, 122 tape blocks
Checking whether any of the rpms from yum_bundle are already installed ...
Package ca-certificates-2016.10.7-2 is already installed
Package curl-7.52.1-1 is already installed
Package db-4.8.24-3 is already installed
Package gdbm-1.8.3-5 is already installed
Package gettext-0.19.7-1 is already installed
Package glib2-2.14.6-2 is already installed
Package pysqlite-1.1.7-2 is already installed
Package python-2.7.10-1 is already installed
Package python-devel-2.7.10-1 is already installed
Package python-iniparse-0.4-1 is already installed
Package python-pycurl-7.19.3-1 is already installed
Package python-tools-2.7.10-1 is already installed
Package python-urlgrabber-3.10.1-1 is already installed
Package readline-6.1-2 is already installed
Package sqlite-3.15.2-1 is already installed
Package yum-3.4.3-7 is already installed
Package yum-metadata-parser-1.1.4-2 is already installed
Yum and all its dependencies are already installed.
root@sag01137: /root # yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
Could not load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.
Dependent module libxml2.a(libxml2.so.2) could not be loaded.
Could not load module libxml2.a(libxml2.so.2).
System error: No such file or directory
Could not load module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.so.
Dependent module /opt/freeware/lib/python2.7/site-packages/_sqlitecache.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.10 (default, Jun 22 2016, 05:57:59) [C]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
root@sag01137: /root # rpm -qa
readline-6.1-2.ppc
gettext-0.19.7-1.ppc
yum-metadata-parser-1.1.4-2.ppc
db-4.8.24-3.ppc
pysqlite-1.1.7-2.ppc
ca-certificates-2016.10.7-2.ppc
python-pycurl-7.19.3-1.ppc
yum-3.4.3-7.noarch
python-tools-2.7.10-1.ppc
AIX-rpm-7.1.5.0-1.ppc
sqlite-3.15.2-1.ppc
glib2-2.14.6-2.ppc
gdbm-1.8.3-5.ppc
python-2.7.10-1.ppc
python-iniparse-0.4-1.noarch
curl-7.52.1-1.ppc
python-urlgrabber-3.10.1-1.noarch
python-devel-2.7.10-1.ppc
this seems to be a aix 7.1 thing, as we did not see this behaviour on 7.2, i have no idea what might be wrong here.