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 repolist error

    Posted yesterday

    Dear Team,

    I am getting below error while running dnf repolist and update after the DNF installation .

    root@AIXHost:/>> /opt/freeware/bin/dnf repolist
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 58, 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/lib64/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
        from . import common_types
      File "/opt/freeware/lib64/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
        from . import _common_types
    ImportError: Could not load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.
            The module has an invalid magic number.
    root@AIXHost:/>> /opt/freeware/bin/dnf update
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 58, 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/lib64/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
        from . import common_types
      File "/opt/freeware/lib64/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
        from . import _common_types
    ImportError: Could not load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/pthread/libstdc++.a(libstdc++.so.6) could not be loaded.
            The module has an invalid magic number.
    root@AIXHost:/>>

    Thanks

    Shahir

    @Aditya Kamath  @Ranjit Ranjan @SANGAMESH MALLAYYA



    ------------------------------
    Shahir Ali FR
    ------------------------------


  • 2.  RE: dnf repolist error

    Posted yesterday

    Hi Shahir,

    Can you tell us how DNF was installed, as the present DNF is Python 3.12–based?



    ------------------------------
    Lakshmi Surekha Kovvuri
    ------------------------------



  • 3.  RE: dnf repolist error

    Posted 12 hours ago

    Hi Lakshmi

    I have downloaded this ESD-Toolbox_for_Linux_Apps_Common_7.2-7.3_122024_LCD4107740.iso   and NFS mounted and installing on our AIX 7.3 LPARs.

    Thanks

    Shahir



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 4.  RE: dnf repolist error

    Posted 5 hours ago
    Hi Shahir,
     
    Can you please try with ESD-Toolbox_for_Linux_Apps_Common_7.2-7.3_122025_LCD4107742.iso as this one has python3.12 ecosystem packages.


    ------------------------------
    Lakshmi Surekha Kovvuri
    ------------------------------