AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Not able to update the package in AIX 7.2

    Posted Fri October 18, 2024 08:03 AM

    Hi Team,

    I am not able to update the package on the given server, getting following errors. Any suggestion on it.

    /opt/freeware/bin/dnf update -y
    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 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 /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
            0509-152   Member libcrypto.so.1.1 is not found in archive 
            0509-022 Cannot load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
            0509-150   Dependent module /opt/freeware/lib/libdnf.a(libdnf.so.2) could not be loaded.

    There is no openssl 

    rsuedw02: root] /> rpm -qa|grep -i openssl
    rsuedw02: root] /> 

    All package details

     rpm -qa
    python3-3.9.16-0.ppc
    libmodulemd-1.5.2-32_2.ppc
    rpm-python3.9-4.15.1-32_2.ppc
    zchunk-libs-1.1.4-32_2.ppc
    libdnf-0.39.1-32_3.ppc
    python3.9-hawkey-0.39.1-32_3.ppc
    python3.9-librepo-1.11.0-32_2.ppc
    p11-kit-tools-0.23.22-0.ppc
    python3.9-libcomps-0.1.15-32_1.ppc
    python3.9-dnf-4.2.17-32_4.noarch
    dnf-4.2.17-32_4.noarch
    python3-libcomps-0.1.15-32_1.ppc
    python3-librepo-1.11.0-32_2.ppc
    python3-hawkey-0.39.1-32_3.ppc
    rpm-python3-4.15.1-32_2.ppc
    gc-guest-agent-5.49.24028.62292-cfcdf93e86.ppc
    python3.9-3.9.16-0.ppc
    libzstd-1.4.4-32_1.ppc
    libsolv-0.7.9-32_3.ppc
    libsmartcols-2.34-32_1.ppc
    librepo-1.11.0-32_2.ppc
    python3.9-libdnf-0.39.1-32_3.ppc
    python3.9-gpg-1.13.1-32_3.ppc
    p11-kit-0.23.22-0.ppc
    libcomps-0.1.15-32_1.ppc
    dnf-data-4.2.17-32_4.noarch
    python3-dnf-4.2.17-32_4.noarch
    dnf-automatic-4.2.17-32_4.noarch
    ca-certificates-2023.2.60-0.ppc
    python3-gpg-1.13.1-32_3.ppc
    python3-libdnf-0.39.1-32_3.ppc
    axon-agent-3.20.1.3073-1.ppc
    AIX-rpm-7.2.5.205-14.ppc



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


  • 2.  RE: Not able to update the package in AIX 7.2

    Posted Fri October 18, 2024 10:03 AM

    It's possible that /opt/freeware/lib/libcrypto.a and /opt/freeware/lib/libssl.a are left overs from an improper openssl uninstallation. Please remove those files and check. 



    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Not able to update the package in AIX 7.2

    Posted Fri October 18, 2024 10:52 AM

    Thank you Ayappan. It is working fine after removing those files. Really appreciate for the quick response.



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