Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  DNF broken after migration to AIX 7.3

    Posted 5 hours ago

    Hello,

    I migrated my AIX server from 7.2 TL5 SP10 to AIX 7.3 TL3 SP1 yesterday. DNF was already installed on AIX 7.2 and was working fine.

    Running a 'dnf check' to verify which package I had to reinstall after AIX migration, I had the following error :

    [root@CUTEST01:/] # dnf check
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 56, in <module>
        from dnf.cli import main
      File "/opt/freeware/lib/python3.12/site-packages/dnf/__init__.py", line 32, in <module>
        import dnf.base
      File "/opt/freeware/lib/python3.12/site-packages/dnf/base.py", line 29, in <module>
        import libdnf.transaction
      File "/opt/freeware/lib/python3.12/site-packages/libdnf/__init__.py", line 8, in <module>
        from . import error
      File "/opt/freeware/lib/python3.12/site-packages/libdnf/error.py", line 10, in <module>
        from . import _error
    ImportError: Could not load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
            Dependent module librpmio.a(librpmio.so.9) could not be loaded.
    Could not load module librpmio.a(librpmio.so.9).
    System error: No such file or directory

    Any idea of what's happening ?

    Regards



    ------------------------------
    Marc Baguelin
    ------------------------------


  • 2.  RE: DNF broken after migration to AIX 7.3

    Posted 4 hours ago

    Hi Marc,

    You need to rerun the dnf_aixtoolbox.sh script.

    Please check this blog https://community.ibm.com/community/user/blogs/sangamesh-mallayya1/2022/01/10/aix-migration-with-dnf



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: DNF broken after migration to AIX 7.3

    Posted 27 minutes ago

    Hi Sangamesh,

    Many thnaks, running 'dnf_aixtoolbox.sh -d' corrected the problem.

    Regards,



    ------------------------------
    Marc Baguelin
    ------------------------------