Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  dnf installation failed

    Posted Wed July 05, 2023 09:46 AM
    Edited by Andres Parada Wed July 05, 2023 09:48 AM

    Hi,

    My version of AIX is  7200-05-05

     I'm having trouble installing DNF with the script:

     ./dnf_aixtoolbox.sh -y

     When installing the packages I get the following error:

    Installing the packages...

    error: Failed dependencies:
            libcrypto.a(libcrypto.so.1.1) is needed by libdnf-0.39.1-32_3.ppc
            libcrypto.a(libcrypto.so.1.1) is needed by librepo-1.11.0-32_2.ppc
            libssl.a(libssl.so.1.1) is needed by librepo-1.11.0-32_2.ppc
            libcrypto.a(libcrypto.so.1.1) is needed by zchunk-libs-1.1.4-32_2.ppc

    dnf installation failed.
    If the failure was due to a space issue, increase the size of /opt and re-run script again.
    Another reason for failure could be mixing of Toolbox packages and packages from other sources.

    Can you help me?

    Thank you so much

    Nicolas

     

    ./dnf_aixtoolbox.sh -y
    Attempting download of dnf_bundle_aix_71_72.tar ...
    --2023-07-05 14:32:09--  https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_bundle_aix_71_72.tar
    Resolving proxy-surf.n18.an.cnav... 10.147.140.140
    Connecting to proxy-surf.n18.an.cnav|10.147.140.140|:8095... connected.
    WARNING: cannot verify public.dhe.ibm.com's certificate, issued by 'CN=DigiCert TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US':
      Self-signed certificate encountered.
    Proxy request sent, awaiting response... 200 OK
    Length: 218480640 (208M) [application/x-tar]
    Saving to: 'dnf_bundle_aix_71_72.tar'

    dnf_bundle_aix_71_72.tar                                                                          100%[==========================================================================================================================================================================================================================================================>] 208.36M  1.81MB/s    in 85s

    2023-07-05 14:33:35 (2.45 MB/s) - 'dnf_bundle_aix_71_72.tar' saved [218480640/218480640]


    Extracting dnf_bundle_aix_71_72.tar ...
    x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991065 bytes, 1936 tape blocks
    x dnf-4.2.17-32_4.aix7.1.noarch.rpm, 11135 bytes, 22 tape blocks
    x dnf-automatic-4.2.17-32_4.aix7.1.noarch.rpm, 12450 bytes, 25 tape blocks
    x dnf-data-4.2.17-32_4.aix7.1.noarch.rpm, 23693 bytes, 47 tape blocks
    x extra_list, 384 bytes, 1 tape blocks
    x install_dnf.sh, 13552 bytes, 27 tape blocks
    x libcomps-0.1.15-32_1.aix7.1.ppc.rpm, 1273688 bytes, 2488 tape blocks
    x libdnf-0.39.1-32_3.aix7.1.ppc.rpm, 15816971 bytes, 30893 tape blocks
    x libmodulemd-1.5.2-32_2.aix7.1.ppc.rpm, 3433754 bytes, 6707 tape blocks
    x librepo-1.11.0-32_2.aix7.1.ppc.rpm, 3653390 bytes, 7136 tape blocks
    x libsmartcols-2.34-32_1.aix7.1.ppc.rpm, 183412 bytes, 359 tape blocks
    x libsolv-0.7.9-32_2.aix7.1.ppc.rpm, 1533463 bytes, 2996 tape blocks
    x libzstd-1.4.4-32_1.aix7.1.ppc.rpm, 469194 bytes, 917 tape blocks
    x p11-kit-0.23.22-0.aix7.1.ppc.rpm, 2148539 bytes, 4197 tape blocks
    x p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm, 274086 bytes, 536 tape blocks
    x python3-3.9.16-0.aix7.1.ppc.rpm, 6176 bytes, 13 tape blocks
    x python3-dateutil-2.8.0-2.aix7.1.noarch.rpm, 6128 bytes, 12 tape blocks
    x python3-devel-3.9.16-0.aix7.1.ppc.rpm, 6204 bytes, 13 tape blocks
    x python3-dnf-4.2.17-32_4.aix7.1.noarch.rpm, 7598 bytes, 15 tape blocks
    x python3-dnf-plugin-migrate-4.0.16-32_2.aix7.1.noarch.rpm, 6568 bytes, 13 tape blocks
    x python3-dnf-plugins-core-4.0.16-32_2.aix7.1.noarch.rpm, 6776 bytes, 14 tape blocks
    x python3-gpg-1.13.1-32_3.aix7.1.ppc.rpm, 7040 bytes, 14 tape blocks
    x python3-hawkey-0.39.1-32_3.aix7.1.ppc.rpm, 23264 bytes, 46 tape blocks
    x python3-idle-3.9.16-0.aix7.1.ppc.rpm, 6196 bytes, 13 tape blocks
    x python3-libcomps-0.1.15-32_1.aix7.1.ppc.rpm, 13360 bytes, 27 tape blocks
    x python3-libdnf-0.39.1-32_3.aix7.1.ppc.rpm, 23264 bytes, 46 tape blocks
    x python3-librepo-1.11.0-32_2.aix7.1.ppc.rpm, 12860 bytes, 26 tape blocks
    x python3-six-1.13.0-2.aix7.1.noarch.rpm, 5820 bytes, 12 tape blocks
    x python3-test-3.9.16-0.aix7.1.ppc.rpm, 6196 bytes, 13 tape blocks
    x python3-tkinter-3.9.16-0.aix7.1.ppc.rpm, 6216 bytes, 13 tape blocks
    x python3.9-3.9.16-0.aix7.1.ppc.rpm, 56782290 bytes, 110903 tape blocks
    x python3.9-dateutil-2.8.0-2.aix7.1.noarch.rpm, 310485 bytes, 607 tape blocks
    x python3.9-devel-3.9.16-0.aix7.1.ppc.rpm, 19947643 bytes, 38961 tape blocks
    x python3.9-dnf-4.2.17-32_4.aix7.1.noarch.rpm, 196779 bytes, 385 tape blocks
    x python3.9-dnf-plugin-migrate-4.0.16-32_2.aix7.1.noarch.rpm, 8242 bytes, 17 tape blocks
    x python3.9-dnf-plugins-core-4.0.16-32_2.aix7.1.noarch.rpm, 33639 bytes, 66 tape blocks
    x python3.9-gpg-1.13.1-32_3.aix7.1.ppc.rpm, 1192531 bytes, 2330 tape blocks
    x python3.9-hawkey-0.39.1-32_3.aix7.1.ppc.rpm, 3116653 bytes, 6088 tape blocks
    x python3.9-idle-3.9.16-0.aix7.1.ppc.rpm, 2328852 bytes, 4549 tape blocks
    x python3.9-libcomps-0.1.15-32_1.aix7.1.ppc.rpm, 1049812 bytes, 2051 tape blocks
    x python3.9-libdnf-0.39.1-32_3.aix7.1.ppc.rpm, 22550948 bytes, 44045 tape blocks
    x python3.9-librepo-1.11.0-32_2.aix7.1.ppc.rpm, 2293000 bytes, 4479 tape blocks
    x python3.9-six-1.13.0-2.aix7.1.noarch.rpm, 45630 bytes, 90 tape blocks
    x python3.9-test-3.9.16-0.aix7.1.ppc.rpm, 33159212 bytes, 64765 tape blocks
    x python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm, 1162787 bytes, 2272 tape blocks
    x rpm-python3-4.15.1-32_2.aix7.1.ppc.rpm, 9496 bytes, 19 tape blocks
    x rpm-python3.9-4.15.1-32_2.aix7.1.ppc.rpm, 98982 bytes, 194 tape blocks
    x rpm.rte, 43051008 bytes, 84084 tape blocks
    x yum-4.2.17-32_4.aix7.1.noarch.rpm, 8634 bytes, 17 tape blocks
    x zchunk-1.1.4-32_2.aix7.1.ppc.rpm, 554294 bytes, 1083 tape blocks
    x zchunk-devel-1.1.4-32_2.aix7.1.ppc.rpm, 19256 bytes, 38 tape blocks
    x zchunk-libs-1.1.4-32_2.aix7.1.ppc.rpm, 534032 bytes, 1044 tape blocks

    Installing rpm.rte at the latest version ...
    This may take several minutes depending on the number of rpms installed...
    +-----------------------------------------------------------------------------+
                        Pre-installation Verification...
    +-----------------------------------------------------------------------------+
    Verifying selections...done
    Verifying requisites...done
    Results...

    SUCCESSES
    ---------
      Filesets listed in this section passed pre-installation verification
      and will be installed.

      Selected Filesets
      -----------------
      rpm.rte 4.15.1.1010                         # RPM Package Manager

      << End of Success Section >>

    +-----------------------------------------------------------------------------+
                       BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
        1  Selected to be installed, of which:
            1  Passed pre-installation verification
      ----
        1  Total to be installed

    +-----------------------------------------------------------------------------+
                             Installing Software...
    +-----------------------------------------------------------------------------+

    installp: APPLYING software for:
            rpm.rte 4.15.1.1010

    Checking if rpm package is already owning
      some of the libraries and binaries..

    . . . . . << Copyright notice for rpm.rte >> . . . . . . .
     Licensed Materials - Property of IBM

     5765H4000
       Copyright International Business Machines Corp. 2014, 2020-2023.
       Copyright "Cowboy" Ben Alman, 2010.
       Copyright Steven Benner (http://stevenbenner.com/), 2013.
       Copyright The Regents of the University of California, 1990, 1993, 1994.
       Copyright Ralf Corsepius <corsepiu@fedoraproject.org>, 2007.
       Copyright Vasil Dinkov, Vadikom Web Ltd., 2016.
       Copyright The Dojo Foundation, 2011.
       Copyright Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995-1997, 2000-2006.
       Copyright Tom Dyas <tdyas@eden.rutgers.edu>, 1998.
       Copyright W. L. Estes <wlestes@uncg.edu>, 1998.
       Copyright Free Software Foundation, Inc., 1989, 1991-2018.
       Copyright Dave Furfero, 2011-2014.
       Copyright Neal Gompa <ngompa13@gmail.com>, 2015.
       Copyright Dimitri van Heesch, 1997-2017.
       Copyright The Internet Society (1998).
       Copyright Per Oeyvind Karlsen <proyvind@moondrake.org>, 2010.
       Copyright Dmitry V. Levin <ldv@altlinux.org>, 2019.
       Copyright Dan Nicholson <dbn.lists@gmail.com>, 2012-2015.
       Copyright Red Hat, Inc., 1998-2003, 2005, 2007, 2009-2011, 2016-2017.
       Copyright Red Hat Software, 1995-2002.
       Copyright Scott James Remnant <scott@netsplit.com>, 2004.
       Copyright John Resig, 2011.
       Copyright Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>, 2004.
       Copyright System Design and Research, 2003.
       Copyright Julian Seward et al., 2002-2015.
       Copyright Mark J. Wielaard <mark@klomp.org>, 2016, 2019.
       Copyright X Consortium, 1994.

     All rights reserved.
     US Government Users Restricted Rights - Use, duplication or disclosure
     restricted by GSA ADP Schedule Contract with IBM Corp.
    . . . . . << End of copyright notice for rpm.rte >>. . . .

    ##################################################################
      This version of rpm installs files under the path /usr/opt/rpm.
      More detailed information on new changes can be found in
      /usr/opt/rpm/README file.
    ##################################################################

    Please wait...
    Successfully updated the Kernel Authorization Table.
    Successfully updated the Kernel Role Table.
    Successfully updated the Kernel Command Table.
    Successfully updated the Kernel Device Table.
    Successfully updated the Kernel Object Domain Table.
    Successfully updated the Kernel  Domains Table.
    Successfully updated the Kernel RBAC log level.
    Successfully updated the Kernel Authorization Table.
    Successfully updated the Kernel Role Table.
    Successfully updated the Kernel Command Table.
    Successfully updated the Kernel Device Table.
    Successfully updated the Kernel Object Domain Table.
    Successfully updated the Kernel  Domains Table.
    Successfully updated the Kernel RBAC log level.
    Finished processing all filesets.  (Total time:  36 secs).

    +-----------------------------------------------------------------------------+
                                    Summaries:
    +-----------------------------------------------------------------------------+

    Installation Summary
    --------------------
    Name                        Level           Part        Event       Result
    -------------------------------------------------------------------------------
    rpm.rte                     4.15.1.1010     USR         APPLY       SUCCESS
    rpm.rte                     4.15.1.1010     ROOT        APPLY       SUCCESS


    Checking whether any of the rpms from dnf_bundle are already installed...
    Takes couple of minutes to process.

    ca-certificates-2023.2.60-0 will be installed
    dnf-4.2.17-32_4 will be installed
    dnf-automatic-4.2.17-32_4 will be installed
    dnf-data-4.2.17-32_4 will be installed
    libcomps-0.1.15-32_1 will be installed
    libdnf-0.39.1-32_3 will be installed
    libmodulemd-1.5.2-32_2 will be installed
    librepo-1.11.0-32_2 will be installed
    libsmartcols-2.34-32_1 will be installed
    libsolv-0.7.9-32_2 will be installed
    libzstd-1.4.4-32_1 will be installed
    p11-kit-0.23.22-0 will be installed
    p11-kit-tools-0.23.22-0 will be installed
    python3-3.9.16-0 will be installed
    python3-dnf-4.2.17-32_4 will be installed
    python3-gpg-1.13.1-32_3 will be installed
    python3-hawkey-0.39.1-32_3 will be installed
    python3-libcomps-0.1.15-32_1 will be installed
    python3-libdnf-0.39.1-32_3 will be installed
    python3-librepo-1.11.0-32_2 will be installed
    python3.9-3.9.16-0 will be installed
    python3.9-dnf-4.2.17-32_4 will be installed
    python3.9-gpg-1.13.1-32_3 will be installed
    python3.9-hawkey-0.39.1-32_3 will be installed
    python3.9-libcomps-0.1.15-32_1 will be installed
    python3.9-libdnf-0.39.1-32_3 will be installed
    python3.9-librepo-1.11.0-32_2 will be installed
    rpm-python3-4.15.1-32_2 will be installed
    rpm-python3.9-4.15.1-32_2 will be installed
    yum-4.2.17-32_4 will be installed
    zchunk-libs-1.1.4-32_2 will be installed

    Installing the packages...

    error: Failed dependencies:
            libcrypto.a(libcrypto.so.1.1) is needed by libdnf-0.39.1-32_3.ppc
            libcrypto.a(libcrypto.so.1.1) is needed by librepo-1.11.0-32_2.ppc
            libssl.a(libssl.so.1.1) is needed by librepo-1.11.0-32_2.ppc
            libcrypto.a(libcrypto.so.1.1) is needed by zchunk-libs-1.1.4-32_2.ppc

    dnf installation failed.
    If the failure was due to a space issue, increase the size of /opt and re-run script again.
    Another reason for failure could be mixing of Toolbox packages and packages from other sources.

    You can try installing the downloaded dnf packages from /tmp/dnf-20230705143209 manually.



    ------------------------------
    Nicolas Aubert
    ------------------------------


    #AIXOpenSource


  • 2.  RE: dnf installation failed

    Posted Wed July 05, 2023 10:04 AM

    Hi,

    New information, when I run the script

    ./install_dnf.sh -y

     Please install openssl 1.1.x and higher version.

    You can download and install latest openssl from AIX web download site https://www-01.ibm.com/marketing/iwm/platform/mrs/assets?source=aixbp

    Could installing an openssl 1.1.X version fix the installation problem?

    Thanks



    ------------------------------
    Nicolas Aubert
    ------------------------------



  • 3.  RE: dnf installation failed

    Posted Wed July 05, 2023 01:37 PM

    Hi Nicolas,

    Yes. Please install openssl-1.1.2.1202 and higher version.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 4.  RE: dnf installation failed

    Posted Thu July 06, 2023 03:25 AM
    Edited by Nicolas Aubert Thu July 06, 2023 09:12 AM

    Hi,

    Thanks, installing openssl-1.1.1.1202 completed the DNF installation cleanly.

    I'm a bit lost in using and configuring a local repo

    I want on my AIX server to create a local repo of RPMs for AIX 6.1/7.1 and 7.2 for customers to type on.

    Can you tell me how to proceed?

    I installed the dnf-utils rpm, is it with it that I will be able to download the RPM sources from the IBM site on my local server?

    Thanks

    sorry my english is very bad !



    ------------------------------
    Nicolas Aubert
    ------------------------------



  • 5.  RE: dnf installation failed

    Posted Fri July 07, 2023 04:16 AM

    Hi Noclas,

    You can refer this article https://developer.ibm.com/articles/configure-yum-on-aix/

    You can skip the information related to setting YUM and can go to the section "Creating a local YUM repository"

    The only differences will be in  below steps

    Step1: It would be dnf-utils instead of yum-utils

    Step4: Instead of -r option it should --repo.

                  For example. "reposync -p <target_path> -r AIX_Toolbox -a ppc" should be changed to "reposync -p <target_path> --repo AIX_Toolbox -a ppc"

    We will soon be updating this article with instruction for DNF and creating local repo.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 6.  RE: dnf installation failed

    Posted Fri July 07, 2023 04:24 AM

    Thank you very much for the details and your help.

     I would be interested in the document concerning the instructions for DNF and creating local repo

    See you soon



    ------------------------------
    Nicolas Aubert
    ------------------------------