Hello,
I have the same behaviour than @Rizwan Khaliq with yum and your answer about follow the steps mentioned in the comment number : 63 discussion is not useful because this discussion is from 2023 and is not related with this discussion issue
Another idea about how could we fix this issue to run properly yum after the rpm.rte update oslevel version to 7200-05-10-2520?
I have the same issue with yum after update rpm level to the latest one:
# oslevel -s
7200-05-10-2520
# lslpp -L | grep rpm.rte
rpm.rte 4.15.1.1017 C F RPM Package Manager
# yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
rtld: 0712-001 Symbol lua_newuserdata was referenced
from module /usr/opt/rpm/lib/librpmio.so(), but a runtime definition
of the symbol was not found.
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
Thanks,
Regards,
------------------------------
Antonio Gallego
------------------------------
Original Message:
Sent: Tue August 12, 2025 05:52 AM
From: Parth Patel
Subject: Yum broken after updating rpm.rte
Please try the steps mentioned in the comment number : 63 discussion
------------------------------
Parth Patel
Original Message:
Sent: Mon July 28, 2025 03:25 AM
From: Marc Pentenrieder
Subject: Yum broken after updating rpm.rte
Hi, dnf is also broken after updating AIX to Fixpack_7200-05-10-2520
Error see here:
!:/> dnf
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 32, in <module>
import dnf.base
File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/opt/freeware/lib/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: rtld: 0712-001 Symbol lua_newuserdata was referenced
from module /usr/opt/rpm/lib/librpmio.so(), but a runtime definition
of the symbol was not found.
!:/> lslpp -l |grep rpm
rpm.rte 4.15.1.1015 COMMITTED RPM Package Manager
rpm.rte 4.15.1.1015 COMMITTED RPM Package Manager
------------------------------
Marc Pentenrieder
Original Message:
Sent: Sun July 27, 2025 09:46 AM
From: Rizwan Khaliq
Subject: Yum broken after updating rpm.rte
Hi
We updated rpm.rte from 4.15.1.1013 to 4.15.1.1016 on AIX 7200-05-06-2320. Yum is giving below error.
yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
rtld: 0712-001 Symbol lua_newuserdata was referenced
from module /usr/opt/rpm/lib/librpmio.so(), but a runtime definition
of the symbol was not found.
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.
Can some one help to fix it?
Thanks
------------------------------
Rizwan Khaliq
------------------------------
#AIXOpenSource