I was getting "No module named _rpm" with yum, so I decided to try and upgrade to DNF. it was failing on a module not found or not compatible. I don't have the exact message anymore. It must have given me a hint on the module so I uninstalled these
I removed these three rpms and then DNF was successful.
rpm -e libxml2-python3-2.10.3-1.ppc
rpm -e ansible-2.9.25-1.noarch
rpm -e python3-jmespath-0.9.4-1.noarch
------------------------------
Vincenzo Giambalvo
------------------------------
Original Message:
Sent: Fri July 07, 2023 04:03 AM
From: SANGAMESH MALLAYYA
Subject: recently upgraded to AIX 7.3 - No module named _rpm
Hi Vincenzo
You have the error you seen while installing DNF ?
------------------------------
SANGAMESH
Original Message:
Sent: Thu July 06, 2023 12:32 PM
From: Vincenzo Giambalvo
Subject: recently upgraded to AIX 7.3 - No module named _rpm
fyi - I tried to install DNF which failed.
I removed these three rpms and then DNF was successful.
rpm -e libxml2-python3-2.10.3-1.ppc
rpm -e ansible-2.9.25-1.noarch
rpm -e python3-jmespath-0.9.4-1.noarch
------------------------------
Vincenzo Giambalvo
Original Message:
Sent: Thu July 06, 2023 12:12 PM
From: Vincenzo Giambalvo
Subject: recently upgraded to AIX 7.3 - No module named _rpm
We recently upgraded, and I noticed an issue with yum
yum search zip
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named _rpm
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, Dec 15 2022, 05:12:43)
[GCC 8.3.0]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
------------------------------
Vincenzo Giambalvo
------------------------------