AIX Open Source

 View Only
  • 1.  Error running dnf update after install

    Posted Thu April 14, 2022 03:02 PM

    Ran the dnf install script and completed with no errors:

     

    ./dnf_aixtoolbox.sh –d

    .

    .

     

    dnf installed successfully.

    Please run 'dnf update' to update packages to the latest level.

     

    root:/tmp/downloads/yum

    # dnf update

    Traceback (most recent call last):

      File "/opt/freeware/bin/dnf", line 57, in <module>

        from dnf.cli import main

      File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 30, in <module>

        import dnf.base

      File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>

        import libdnf.transaction

      File "/opt/freeware/lib/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>

        from . import common_types

      File "/opt/freeware/lib/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>

        from . import _common_types

    ImportError:    0509-022 Cannot load module /usr/lib/libssl.a(libssl.so.1.0.2).

            0509-150   Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.2) could not be loaded.

            0509-152   Member libcrypto.so.1.0.2 is not found in archive

            0509-022 Cannot load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.

            0509-150   Dependent module /usr/lib/libssl.a(libssl.so.1.0.2) could not be loaded.

     

     

    Downloaded standalone rpm package for ssl and attempted to install and saw the following errors:

     

    rpm -ivh krb5-pkinit-openssl-1.18.4-1.aix6.1.ppc.rpm

    error: Failed dependencies:

            krb5-libs = 1.18.4-1 is needed by krb5-pkinit-openssl-1.18.4-1.ppc

            libcom_err.so is needed by krb5-pkinit-openssl-1.18.4-1.ppc

            libgcc >= 8.3.0 is needed by krb5-pkinit-openssl-1.18.4-1.ppc

            libk5crypto.so is needed by krb5-pkinit-openssl-1.18.4-1.ppc

            libkrb5.so is needed by krb5-pkinit-openssl-1.18.4-1.ppc

            libkrb5support.so is needed by krb5-pkinit-openssl-1.18.4-1.ppc

     

    Stuck in a dependency loop. Recommendations?

     

    Thanks

     

    John Dimock

     


    ______________________________________________________________________
    CONFIDENTIALITY NOTICE:
    The information in this e-mail may be confidential and/or
    privileged. If you are not the intended recipient or an
    authorized representative of the intended recipient, you
    are hereby notified that any review, dissemination, or
    copying of this e-mail and its attachments, if any, or
    the information contained herein is prohibited. If you
    have received this e-mail in error, please immediately
    notify the sender by return e-mail and delete this e-mail
    from your computer system. Thank you.
    ______________________________________________________________________


  • 2.  RE: Error running dnf update after install
    Best Answer

    Posted Mon April 18, 2022 01:42 PM
    Hi John, 

    Do you have openssl rpm installed on the system ? 
    Can you please check with "rpm -qa | grep openssl" ?
    I think the openssl rpm is conflicting. This rpm would have installed from some other source.
    AIX toolbox packages and dnf uses AIX provided openssl from /usr/lib and when there is another one it is conflicting as it is not finding right shared object in it.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: Error running dnf update after install

    Posted Wed April 20, 2022 08:25 AM

    Able to resolve issue, thanks for your help.

     

    John Dimock

     






  • 4.  RE: Error running dnf update after install

    Posted Wed May 17, 2023 11:07 AM

    How were able to resolve the issue?  We are getting the same dnf update error in AIX 7.2.



    ------------------------------
    Lisa Chepega
    ------------------------------