NIMADM update to AIX v7300-02-01 causing dnf issue

We did a NIMADM update from AIX v7.2 to v7.3. We are trying to get dnf working again but keep getting this error:

x:/# dnf list repo
Traceback (most recent call last):
  File "/usr/bin/dnf", line 57, in <module>
    from dnf.cli import main
  File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 32, 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-022 Cannot load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
        0509-150   Dependent module librpmio.a(librpmio.so.9) could not be loaded.
        0509-022 Cannot load module librpmio.a(librpmio.so.9).
        0509-026 System error: A file or directory in the path name does not exist.

The assistance found on the web is greatly outdated or very confusing. Any assistance is appreciated

I'm no AIX expert but it seems that you are not alone.

Have you read this (which is a reasonably recent post)?

2 Likes