AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
Expand all | Collapse all

Not able to run DNF update command after AIX 7.2 to 7.3

  • 1.  Not able to run DNF update command after AIX 7.2 to 7.3

    Posted Mon June 09, 2025 07:54 AM

    Hi Team,

    We are getting following errors after OS upgrade from 7.2 to 7.3. Do we any solution for this?

    /> /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: Symbol resolution failed for /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so because:
            Symbol _ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE/software/syncsort/lib/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 460(/software/syncsort/lib/libstdc++.a).
            Symbol _ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE (number 459) is not exported from dependent
              module /software/syncsort/lib/libstdc++.a(libstdc++.so.6).
            Symbol _ZN9__gnu_cxxeqIPcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEbRKNS_17__normal_iteratorIT_T0_EESD_ (number 458) is not exported from dependent
              module /software/syncsort/lib/libstdc++.a(libstdc++.so.6).
            Symbol _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm/software/syncsort/lib/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 457(/software/syncsort/lib/libstdc++.a).
            Symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_/software/syncsort/lib/libstdc++.a (number libstdc++.so.6) is not exported from dependent
              module 456(/software/syncsort/lib/libstdc++.a).
            Symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_ (number 455) is not exported from dependent
              module /software/syncsort/lib/libstdc++.a(libstdc++.so.6).
    Additional errors occurred but are not reported.
    Examine .loader section symbols with the 'dump -Tv' command.



    ------------------------------
    Manoj Kumar
    ------------------------------


  • 2.  RE: Not able to run DNF update command after AIX 7.2 to 7.3

    Posted Tue June 10, 2025 07:50 AM

    I have run into several problems after using/updating YUM and DNF on AIX 7.3 after upgrading from 7.2.

    So far I have come a few steps that helped me out, so I now always follow these steps:

    1. Download the "dnf_aixtoolbox.sh" script 
      from https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_aixtoolbox.sh
    2. Run the script, probably with "-y" argument if you want to keep YUM available also:
              ./dnf_aixtoolbox.sh -y
    3. Check to see if /opt/freeware/bin is in the search path ($PATH) for root.
      If it isn't, added it to the end:
              export PATH=$PATH:/opt/freeware/bin
      If is is, try to place it at the front, quick & dirty:
              export PATH=/opt/freeware/bin:$PATH  

    I recommend making mksysb backup before you try this.



    ------------------------------
    Richard Westerik
    Principal specialist
    Simac IT NL bv
    Ede
    +31651575123
    ------------------------------