AIX Open Source

 View Only
  • 1.  yum & dnf both not working.

    Posted Fri April 28, 2023 08:31 PM
    # yum
    Traceback (most recent call last):
      File "/opt/freeware/bin/yum", line 57, in <module>
        from dnf.cli import main
      File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 32, 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: Could not load module /opt/freeware/lib/librepo.a(librepo.so.0).
            Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
            Member libcrypto.so.1.1 is not found in archive
    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/librepo.a(librepo.so.0) could not be loaded.
     
    # 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 32, 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: Could not load module /opt/freeware/lib/librepo.a(librepo.so.0).
            Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
            Member libcrypto.so.1.1 is not found in archive
    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
            Dependent module /opt/freeware/lib/librepo.a(librepo.so.0) could not be loaded.


    ------------------------------
    Vijaya Baskar Jayapalan
    ------------------------------


  • 2.  RE: yum & dnf both not working.

    Posted Mon May 01, 2023 09:37 AM

    Do you work with Dharma. he has listed in different forum the same issue.

    what version of AIX? what version of openssl? what version of openssh?



    ------------------------------
    minesh patel
    ------------------------------



  • 3.  RE: yum & dnf both not working.

    Posted Mon May 01, 2023 05:14 PM

    Hi Minesh,

    Thank you for working on this.

    No. I am not working with Dharma. i am not aware about him.

    Here are the details. can you please assist me on this.

    root@vaiclu2916 [/mnt/dnf]
    # oslevel -s
    7100-05-11-2246
     
    root@vaiclu2916 [/mnt/dnf]
    # lslpp -l | grep open
      CentrifyDC.openldap      5.7.1.350  COMMITTED  Centrify DirectControl
      CentrifyDC.openssl       5.7.1.350  COMMITTED  Centrify DirectControl OpenSSL
      openssh.base.client   8.1.102.2106  COMMITTED  Open Secure Shell Commands
      openssh.base.server   8.1.102.2106  COMMITTED  Open Secure Shell Server
      openssh.license       8.1.102.2106  COMMITTED  Open Secure Shell License
      openssh.man.en_US     8.1.102.2106  COMMITTED  Open Secure Shell
      openssl.base            1.0.2.2106  COMMITTED  Open Secure Socket Layer
      openssl.license         1.0.2.2106  COMMITTED  Open Secure Socket License
      openssl.man.en_US       1.0.2.2106  COMMITTED  Open Secure Socket Layer
      openssh.base.client   8.1.102.2106  COMMITTED  Open Secure Shell Commands
      openssh.base.server   8.1.102.2106  COMMITTED  Open Secure Shell Server
      openssl.base            1.0.2.2106  COMMITTED  Open Secure Socket Layer

    Below is the error i got when i did the the dnf_bundle install.
    error: Failed dependencies:
            dnf = 4.2.17-32_3 is needed by yum-4.2.17-32_3.noarch
            dnf-data = 4.2.17-32_3 is needed by yum-4.2.17-32_3.noarch
            yum >= 4.2.17-32_1 is obsoleted by (installed) dnf-4.2.17-32_50.ppc



    ------------------------------
    Vijaya Baskar Jayapalan
    ------------------------------



  • 4.  RE: yum & dnf both not working.

    Posted Tue May 02, 2023 12:40 AM

    Please update to latest openssl => 1.1.1 from AIX web download.

    https://www-01.ibm.com/marketing/iwm/iwm/web/pickUrxNew.do?source=aixbp

     

     

    Thanks,

     

    Sanket Rathi

     






  • 5.  RE: yum & dnf both not working.

    Posted Mon May 01, 2023 10:05 AM

    if this helps you

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/librepo/librepo-1.11.0-101.aix7.1.ppc.rpm
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/librepo/python3-librepo-1.11.0-101.aix7.1.ppc.rpm
    https://community.ibm.com/community/user/power/discussion/recent-dnf-and-yum-issues-with-newer-python3-and-curl-builds



    ------------------------------
    minesh patel
    ------------------------------