Power

 View Only
  • 1.  DNF instillation error

    Posted Mon March 27, 2023 12:25 PM

    I am trying to install DNF in AIX 7.2 7200-05-04-2220 getting below dependencies errors. My final requirement to install  zgrep installation. but ending up with many dependencies. Please share the details when we can find entire package included all required dependencies.  

    The following errors occurred during installation:
    warning: package dnf-4.2.17-32_50.ppc was already added, skipping dnf-4.2.17-32_50.ppc
    warning: package dnf-4.2.17-32_50.ppc was already added, skipping yum-4.2.17-32_3.noarch
    error: Failed dependencies:
            krb5-libs >= 1.16.1-2 is needed by curl-7.65.1-1.ppc
            libcom_err.a(libcom_err.so) is needed by curl-7.65.1-1.ppc
            libcom_err.so is needed by curl-7.65.1-1.ppc
            libgssapi_krb5.a(libgssapi_krb5.so) is needed by curl-7.65.1-1.ppc
            libgssapi_krb5.so is needed by curl-7.65.1-1.ppc
            libk5crypto.a(libk5crypto.so) is needed by curl-7.65.1-1.ppc
            libk5crypto.so is needed by curl-7.65.1-1.ppc
            libkrb5.a(libkrb5.so) is needed by curl-7.65.1-1.ppc
            libkrb5.so is needed by curl-7.65.1-1.ppc
            libssh2 >= 1.8.0-3 is needed by curl-7.65.1-1.ppc
            libssh2.a(libssh2.so.1) is needed by curl-7.65.1-1.ppc
            dnf = 4.2.17-32_3 is needed by (installed) dnf-automatic-4.2.17-32_3.noarch
            dnf-data = 4.2.17-32_50 is needed by python3-dnf-4.2.17-32_50.ppc
            libmodulemd >= 1.5.2-100 is needed by python3-dnf-4.2.17-32_50.ppc
            python3 >= 3.7.12 is needed by python3-dnf-4.2.17-32_50.ppc
            python3-gpg >= 1.13.1-100 is needed by python3-dnf-4.2.17-32_50.ppc
            python3-hawkey >= 0.39.1-32_50 is needed by python3-dnf-4.2.17-32_50.ppc
            python3-libcomps >= 0.1.11-100 is needed by python3-dnf-4.2.17-32_50.ppc
            python3-libdnf >= 0.39.1-32_50 is needed by python3-dnf-4.2.17-32_50.ppc



    ------------------------------
    Karunakar Manne
    ------------------------------


  • 2.  RE: DNF instillation error

    Posted Tue March 28, 2023 09:15 AM

    This is a free ware. You just have to do smitty install – preview and find dependencies and download DNF and all dependencies in one directory and they try to install them. There is no magic bullet. You just have to try it few times and find all the dependencies downloaded then install it. If you are new to free opensource.

     

    Did you download DNF from toolbox website.

    https://www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha






  • 3.  RE: DNF instillation error

    Posted Wed March 29, 2023 04:53 AM

    Yes I have downloaded from same source , there was some progress , but ending up with some error. Apprciate for suggestion to resovle it.

    root@server# /opt/freeware/bin/dnf
    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:    0509-022 Cannot load module /opt/freeware/lib/librepo.a(librepo.so.0).
            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 /opt/freeware/lib/librepo.a(librepo.so.0) could not be loaded.
    root@bliwux_n#



    ------------------------------
    Karunakar Manne
    ------------------------------



  • 4.  RE: DNF instillation error

    Posted Wed March 29, 2023 08:33 AM

    You need

    Librepo

     

    And

    https://www.ibm.com/support/pages/resolving-rpm-libssla-and-libcryptoa-errors

     

    https://www.ibm.com/support/pages/node/720655

     

    1) Download the latest available "OpenSSL or OpenSSH n.n.n" for your AIX version from the following download links: 

     

        OpenSSH: https://www.ibm.com/resources/mrs/assets?source=aixbp&S_PKG=openssh

        OpenSSL: https://www.ibm.com/resources/mrs/assets?source=aixbp&S_PKG=openssl

     

    To see all available packages: https://www.ibm.com/resources/mrs/assets?source=aixbp

     

    ** You need an IBMid to access this site. 

     

        Create an IBMid






  • 5.  RE: DNF instillation error

    Posted Wed March 29, 2023 08:49 AM

    Hi Minesh

    thank you for reply on this,  any impact on server after installations of  OpenSSH and OpenSSL  as it production server ?



    ------------------------------
    Karunakar Manne
    ------------------------------



  • 6.  RE: DNF instillation error

    Posted Wed March 29, 2023 09:06 AM

    you test on test server first.






  • 7.  RE: DNF instillation error

    Posted Wed March 29, 2023 09:13 AM

    As they say, test on  a non-critical server first, but then you still have to just  hope for the best in production.

     

    I recently updated OpenSSL and OpenSSH on several systems in order to get a DNF update working, and it had no bad side effects, and did not require a reboot.

    Make sure that you make a backup copy of your /etc/ssh directory  first – you may get some  updates or have to figure out what to do about new options in your config files.

     

    -Michael Shon