AIX Open Source

 View Only

 Issue with dnf update command

Guy Harte's profile image
Guy Harte posted Fri August 08, 2025 08:51 AM

Hello,
After successful install from dnf (via dnf_aixtoolbox.sh -d), the dnf udate command fails with the below message :
# dnf update
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module>
import dnf.base
File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/opt/freeware/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-130 Symbol resolution failed for /usr/opt/rpm/lib/librpmio.so because:
0509-136 Symbol lua_newuserdata (number 198) is not exported from
dependent module /usr/opt/rpm/lib/liblua.a(liblua-5.3.so).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.

The server is running on AIX 7.2 TL5 SP9
Can you help to solve this issue

PS: I have dnf running find on other servers.

Regards
Guy

Parth Patel's profile image
Parth Patel

Please check these forum blog/discussion threads for more on the migration step required.

  1. https://community.ibm.com/community/user/blogs/sangamesh-mallayya1/2022/01/10/aix-migration-with-dnf
  2. https://community.ibm.com/community/user/discussion/migrating-to-python39-for-aix-toolbox-python3-ecosystem#bm7c12cb47-fe61-441f-924e-0188afd09151

To resolve this issue, Please try the steps mentioned in the comment number : 63 this  discussion