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.  AIX Server - SSH got disconnected immediately after installing AIX toolbox for Linux coreutils package - dnf method

    Posted Wed November 01, 2023 08:48 AM

    I have followed the below steps for the coreutils package installation, but facing issue to access the server via.ssh. After Installing coreutils package, the ssh connection immediately disconnected.So we have booted the server from alt_clone disk and then working fine without coreutils package. Please let me know if the issue is related to centrify-sshd or any other package conflict, However I was able to install dnf and install coreutils in another AIX development server without any issues.


    Please follow the below steps for setting up DNF local repo.

    The output shown in below steps for reference is for the AIX 7.3.
    Except some output differences the steps are common for AIX releases mentioned.


        1. Download AIX toolbox media ISO/tar format image from either the Entitled System Support (ESS)                                                                                                            
            website or the Passport Advantage (PPA) website depending on which AIX product you have entitlement for.

            a. ESS: Download either the ISO or tar.gz image from the 2259 feature of your AIX product entitlement.
            b. PPA: Download the file associated with one of the following current parts M04S8ML (.tar.gz) or M04SBML (.iso).
                In the future look for the most recent AIX eAssembly and download the file for one of the two entries labelled in part,
               "IBM AIX Toolbox for Linux Applications".

        2. Mount the iso or extract the .tar.gz file into the path of your preference where it should have the required free disk
            space of around 6.6GB for .tar.gz extraction.

            For example, in this tutorial we take /mnt as our iso image mount path or .tar.gz extraction path.                

           # df -m /
           Filesystem         MB blocks               Free        %Used           Iused   %Iused   Mounted on
           /dev/hd4            13312.00               6681.69       50%         4116             1%   /
            # gzip -dc aix_linux_toolbox_*.tar.gz | tar xf - -C /mnt                       

            or

            # loopmount -i aix_linux_toolbox_*.iso -o "-V udfs -o ro" -m /mnt


        3. Run the dnf_aixtoolbox_local.sh script located at /mnt/ezinstall/ppc/dnf_aixtoolbox_local.sh

     
            # /mnt/ezinstall/ppc/dnf_aixtoolbox_local.sh
            Usage: dnf_aixtoolbox_local.sh <mount path or tar extraction path>

                         mount path should be Absolute path where the AIX Toolbox iso image is
                         being mounted or the path where AIX Toolbox tar file has been extracted.

            # /mnt/ezinstall/ppc/dnf_aixtoolbox_local.sh /mnt

            Copying dnf_bundle_aix_73.tar to /tmp/dnf-20220619090928 .....

            Extracting dnf_bundle_aix_73.tar ...
            x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 media blocks.
            x dnf-4.2.17-64_3.aix7.1.noarch.rpm, 11038 bytes, 22 media blocks.
            x dnf-automatic-4.2.17-64_3.aix7.1.noarch.rpm, 12495 bytes, 25 media blocks.
            x dnf-data-4.2.17-64_3.aix7.1.noarch.rpm, 25705 bytes, 51 media blocks.
            x extra_list, 218 bytes, 1 media blocks.
            x install_dnf.sh, 14005 bytes, 28 media blocks.
            x install_dnf.sh_bak, 13648 bytes, 27 media blocks.
            x libcomps-0.1.11-64_1.aix7.1.ppc.rpm, 1311685 bytes, 2562 media blocks.
            x libdnf-0.39.1-64_2.aix7.1.ppc.rpm, 16662087 bytes, 32544 media blocks.
            x libmodulemd-1.5.2-64_1.aix7.1.ppc.rpm, 3509662 bytes, 6855 media blocks.
            x librepo-1.11.0-64_1.aix7.1.ppc.rpm, 4008061 bytes, 7829 media blocks.
            x libsmartcols-2.34-64_1.aix7.1.ppc.rpm, 187658 bytes, 367 media blocks.
            x libsolv-0.7.9-64_1.aix7.1.ppc.rpm, 1572946 bytes, 3073 media blocks.
            x libzstd-1.4.4-64_1.aix7.1.ppc.rpm, 471063 bytes, 921 media blocks.
            x p11-kit-0.23.16-0.aix7.1.ppc.rpm, 1047702 bytes, 2047 media blocks.
            x p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm, 39777 bytes, 78 media blocks.
            x python3-3.7.9-0.aix7.1.ppc.rpm, 43168080 bytes, 84313 media blocks.
            x python3-dateutil-2.8.0-1.aix6.1.noarch.rpm, 363137 bytes, 710 media blocks.
            x python3-devel-3.7.9-0.aix7.1.ppc.rpm, 237244 bytes, 464 media blocks.
            x python3-dnf-4.2.17-64_3.aix7.1.noarch.rpm, 197417 bytes, 386 media blocks.
            x python3-dnf-plugin-migrate-4.0.16-6_64.aix7.1.noarch.rpm, 7987 bytes, 16 media blocks.
            x python3-dnf-plugins-core-4.0.16-6_64.aix7.1.noarch.rpm, 49244 bytes, 97 media blocks.
            x python3-docs-3.7.9-0.aix7.1.ppc.rpm, 2993180 bytes, 5847 media blocks.
            x python3-gpgme-1.13.1-64_1.aix7.1.ppc.rpm, 950413 bytes, 1857 media blocks.
            x python3-hawkey-0.39.1-64_2.aix7.1.ppc.rpm, 3315808 bytes, 6477 media blocks.
            x python3-libcomps-0.1.11-64_1.aix7.1.ppc.rpm, 1048900 bytes, 2049 media blocks.
            x python3-libdnf-0.39.1-64_2.aix7.1.ppc.rpm, 23976752 bytes, 46830 media blocks.
            x python3-librepo-1.11.0-64_1.aix7.1.ppc.rpm, 2471654 bytes, 4828 media blocks.
            x python3-six-1.13.0-1.aix6.1.noarch.rpm, 514483 bytes, 1005 media blocks.
            x python3-test-3.7.9-0.aix7.1.ppc.rpm, 28383122 bytes, 55436 media blocks.
            x python3-tools-3.7.9-0.aix7.1.ppc.rpm, 12734 bytes, 25 media blocks.
            x rpm-python3-4.15.1-64_2.aix7.1.ppc.rpm, 101486 bytes, 199 media blocks.
            x rpmlibs32-4.15.1.0-32_1.aix7.1.ppc.rpm, 732081 bytes, 1430 media blocks.
            x yum-4.2.17-64_3.aix7.1.noarch.rpm, 8953 bytes, 18 media blocks.
            x zchunk-1.1.4-64_1.aix7.1.ppc.rpm, 489162 bytes, 956 media blocks.
            x zchunk-devel-1.1.4-64_1.aix7.1.ppc.rpm, 19127 bytes, 38 media blocks.
            x zchunk-libs-1.1.4-64_1.aix7.1.ppc.rpm, 559707 bytes, 1094 media blocks.


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

            ca-certificates-2020.06.01-0 will be installed
            dnf-4.2.17-64_3 will be installed
            dnf-automatic-4.2.17-64_3 will be installed
            dnf-data-4.2.17-64_3 will be installed
            libcomps-0.1.11-64_1 will be installed
            libdnf-0.39.1-64_2 will be installed
            libmodulemd-1.5.2-64_1 will be installed
            librepo-1.11.0-64_1 will be installed
            libsmartcols-2.34-64_1 will be installed
            libsolv-0.7.9-64_1 will be installed
            libzstd-1.4.4-64_1 will be installed
            p11-kit-0.23.16-0 will be installed
            p11-kit-tools-0.23.16-0 will be installed
            python3-3.7.9-0 will be installed
            python3-dnf-4.2.17-64_3 will be installed
            python3-gpgme-1.13.1-64_1 will be installed
            python3-hawkey-0.39.1-64_2 will be installed
            python3-libcomps-0.1.11-64_1 will be installed
            python3-libdnf-0.39.1-64_2 will be installed
            python3-librepo-1.11.0-64_1 will be installed
            rpm-python3-4.15.1-64_2 will be installed
            yum-4.2.17-64_3 will be installed
            zchunk-libs-1.1.4-64_1 will be installed

            Installing the packages...

            Verifying... ################################# [100%]
             Preparing... ################################# [100%]
             Updating / installing...
             1:python3-3.7.9-0 ################################# [ 4%]
             2:libzstd-1.4.4-64_1 ################################# [ 9%]
             3:libmodulemd-1.5.2-64_1 ################################# [ 13%]
             4:libsolv-0.7.9-64_1 ################################# [ 17%]
             5:libsmartcols-2.34-64_1 ################################# [ 22%]
             6:zchunk-libs-1.1.4-64_1 ################################# [ 26%]
             7:librepo-1.11.0-64_1 ################################# [ 30%]
             8:rpm-python3-4.15.1-64_2 ################################# [ 35%]
             9:libdnf-0.39.1-64_2 ################################# [ 39%]
           10:python3-libdnf-0.39.1-64_2 ################################# [ 43%]
           11:dnf-data-4.2.17-64_3 ################################# [ 48%]
           12:python3-hawkey-0.39.1-64_2 ################################# [ 52%]
           13:libcomps-0.1.11-64_1 ################################# [ 57%]
           14:python3-libcomps-0.1.11-64_1 ################################# [ 61%]
           15:python3-gpgme-1.13.1-64_1 ################################# [ 65%]
           16:python3-dnf-4.2.17-64_3 ################################# [ 70%]
           17:dnf-4.2.17-64_3 ################################# [ 74%]
           18:p11-kit-0.23.16-0 ################################# [ 78%]
           19:p11-kit-tools-0.23.16-0 ################################# [ 83%]
           20:ca-certificates-2020.06.01-0 ################################# [ 87%]
           21:dnf-automatic-4.2.17-64_3 ################################# [ 91%]
           22:yum-4.2.17-64_3 ################################# [ 96%]
           23:python3-librepo-1.11.0-64_1 ################################# [100%]

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

            Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
            RPM packages install files go under the path /opt.
            Hence it is recommended to always keep at least 512MB of free space in /var & /opt
            to avoid any download and installation/update failures.

            Creating the dnf.conf file with required locale repositories.
            The default /opt/freeware/etc/dnf/dnf.conf has been saved as /opt/freeware/etc/dnf/dnf.conf_local_bak

     

        4. Verify the /opt/freeware/etc/dnf/dnf.conf if local repository entries are created correctly.
     

            # cat /opt/freeware/etc/dnf/dnf.conf

            [main]

            cachedir=/var/cache/dnf

            keepcache=1

            debuglevel=2

            logfile=/var/log/dnf.log

            exactarch=1

            gpgcheck=1

            installonly_limit=3

            clean_requirements_on_remove=True

            best=True

     

            plugins=1

     

            [Local_AIX_Toolbox]

            name=Local AIX generic repository

            baseurl=file:///mnt/RPMS/ppc/

            enabled=1

            gpgcheck=0

     
            [Local_AIX_Toolbox_noarch]

            name=Local AIX noarch repository

            baseurl=file:///mnt/RPMS/noarch/

            enabled=1

            gpgcheck=0

     

            [Local_AIX_Toolbox_73]

            name=Local AIX 7.3 specific repository

            baseurl=file:///mnt/RPMS/ppc-7.3/

            enabled=1

            gpgcheck=0

     

        5. Run dnf repolist to list the local repositories.
           
            # dnf repolist

            repo id                                           repo name

            Local_AIX_Toolbox                                 Local AIX generic repository

            Local_AIX_Toolbox_73                              Local AIX 7.3 specific repository

            Local_AIX_Toolbox_noarch                          Local AIX noarch repository

     
        6. Run dnf update to update packages to the latest version.

     

            # dnf update
             Local AIX generic repository 3.0 MB/s | 3.0 kB 00:00
             Local AIX noarch repository 3.0 MB/s | 3.0 kB 00:00
             Local AIX 7.3 specific repository 2.9 MB/s | 3.0 kB 00:00
             Dependencies resolved.
             ==============================================================================================================
             Package                                   Architecture               Version                       Repository                                                       Size
             ==============================================================================================================
            Upgrading:
              ca-certificates                      ppc                                2020.06.01-2          Local_AIX_Toolbox                                      925 k
              p11-kit                                   ppc                                0.23.22-1                  Local_AIX_Toolbox                                      4.3 M
              p11-kit-tools                        ppc                                0.23.22-1                  Local_AIX_Toolbox                                      198 k
              python3                                 ppc                                3.7.12-1                     Local_AIX_Toolbox                                      39 M
           Installing dependencies:
              bash                                       ppc                                 5.1.4-2                       Local_AIX_Toolbox                                      2.8 M
              bzip2                                      ppc                                 1.0.8-2                       Local_AIX_Toolbox                                      238 k
              expat                                      ppc                                 2.4.4-1                       Local_AIX_Toolbox                                     985 k
              gdbm                                      ppc                                1.19-1                         Local_AIX_Toolbox                                     274 k
              gettext                                   ppc                                0.20.2-1                      Local_AIX_Toolbox                                    11 M
              glib2                                       ppc                                2.56.1-3                      Local_AIX_Toolbox                                    16 M
              info                                         ppc                                6.7-1                             Local_AIX_Toolbox                                    699 k
              libffi                                        ppc                                3.2.1-3                         Local_AIX_Toolbox                                    47 k
              libiconv                                  ppc                                1.16-1                          Local_AIX_Toolbox                                    1.6 M
              libtasn1                                 ppc                                4.16.0-1                       Local_AIX_Toolbox                                    200 k
              libtextstyle                           ppc                                0.20.2-1                       Local_AIX_Toolbox                                    1.1 M
              libunistring                           ppc                                0.9.10-1                       Local_AIX_Toolbox                                    1.5 M
              libxml2                                  ppc                                2.9.11-1                       Local_AIX_Toolbox                                    5.5 M
              ncurses                                 ppc                                6.2-3                              Local_AIX_Toolbox                                    3.5 M
              readline                                ppc                                 8.1-1                              Local_AIX_Toolbox                                   2.5 M
              sqlite                                     ppc                                 3.35.5-1                        Local_AIX_Toolbox                                   8.7 M
              xz-libs                                   ppc                                 5.2.5-1                           Local_AIX_Toolbox                                   540 k
              zlib                                         ppc                                 1.2.11-2                        Local_AIX_Toolbox                                   335 k
              libgcc                                     ppc                                1:10-2                            Local_AIX_Toolbox_73                           15 k
              libgcc10                                ppc                                10.3.0-6                        Local_AIX_Toolbox_73                           794 k
              libgomp                                ppc                                 1:10-2                            Local_AIX_Toolbox_73                          14 k
              libgomp10                           ppc                                 10.3.0-6                        Local_AIX_Toolbox_73                          2.0 M
              libstdc++                              ppc                                1:10-2                            Local_AIX_Toolbox_73                          14 k
              libstdc++10                         ppc                                10.3.0-6                        Local_AIX_Toolbox_73                          19 M

              Transaction Summary
              ==============================================================================================================
              Install           24       Packages
              Upgrade         4        Packages

              Total size: 123 M
              Is this ok [y/N]: y
              Downloading Packages:
              Running transaction check
              Transaction check succeeded.
              Running transaction test
              Transaction test succeeded.
              Running transaction
              Preparing                   :                                                                1/1
              Installing                    : libgcc10-10.3.0-6.ppc                    1/32
              Installing                    : libgcc-1:10-2.ppc                            2/32
              Installing                    : libffi-3.2.1-3.ppc                              3/32
              Installing                    : zlib-1.2.11-2.ppc                             4/32
              Installing                    : libstdc++10-10.3.0-6.ppc             5/32

              ……………………….

     

    hostname # lslpp -ha rpm.rte
      Fileset         Level     Action       Status       Date         Time
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      rpm.rte
                  4.15.1.1006   COMMIT       COMPLETE     04/17/23     15:39:47
                  4.15.1.1006   APPLY        COMPLETE     04/17/23     15:39:47

    Path: /etc/objrepos
      rpm.rte
                  4.15.1.1006   COMMIT       COMPLETE     04/17/23     15:40:01
                  4.15.1.1006   APPLY        COMPLETE     04/17/23     15:40:01


    hostname: # lssrc -s centrify-sshd
    Subsystem         Group            PID          Status
     centrify-sshd    tcpip            5374428      active
    hostname: # adinfo -v
    adinfo (CentrifyDC 5.9.1-330)

    hostname: # lslpp -l | grep -i openssl
      CentrifyDC.openssl       5.9.1.330  COMMITTED  DirectControl OpenSSL
      openssl.base            1.0.2.2104  COMMITTED  Open Secure Socket Layer
      openssl.license         1.0.2.2104  COMMITTED  Open Secure Socket License
      openssl.man.en_US       1.0.2.2104  COMMITTED  Open Secure Socket Layer
      openssl.base            1.0.2.2104  COMMITTED  Open Secure Socket Layer



    ------------------------------
    BATCHA RIAZ AHAMED S
    ------------------------------


  • 2.  RE: AIX Server - SSH got disconnected immediately after installing AIX toolbox for Linux coreutils package - dnf method

    Posted Wed November 01, 2023 08:52 AM

    Please provide any suggestion or steps to avoid this ssh disconnect issue, after installing the AIX toolbox for Linux coreutils package - dnf method - local repo.

    Tried two to three times, still the same issue.



    ------------------------------
    BATCHA RIAZ AHAMED S
    ------------------------------



  • 3.  RE: AIX Server - SSH got disconnected immediately after installing AIX toolbox for Linux coreutils package - dnf method

    Posted Wed November 01, 2023 01:17 PM

    Hello rpm.rte 4.16.1.1006 is old.

    You should update this file set

    --> https://www.ibm.com/resources/mrs/assets?source=aixbp&S_PKG=rpm

    Per the May 2023 update in What's New:

    AIX Toolbox for Open Source Software : What's New

    ---> IMPORTANT: Before running any DNF update commands, you must update rpm.rte to latest version. 

    Additionally, it is mentioned, in the

    Configuring DNF and creating local repositories on IBM AIX  that

    rpm.rte-4.15.1.1010 or higher for AIX 7.1 and 7.2, rpm.rte-4.15.1.2009 for AIX 7.3 is required.



    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 4.  RE: AIX Server - SSH got disconnected immediately after installing AIX toolbox for Linux coreutils package - dnf method

    Posted Thu November 02, 2023 05:01 AM

    Hi,

    as far as I can see, you use not IBM's OpenSSH but Centrify's SSH and some OpenSSL from them:

    hostname: # lssrc -s centrify-sshd
    Subsystem         Group            PID          Status
     centrify-sshd    tcpip            5374428      active
    hostname: # adinfo -v
    adinfo (CentrifyDC 5.9.1-330)

    hostname: # lslpp -l | grep -i openssl
      CentrifyDC.openssl       5.9.1.330  COMMITTED  DirectControl OpenSSL
      openssl.base            1.0.2.2104  COMMITTED  Open Secure Socket Layer
      openssl.license         1.0.2.2104  COMMITTED  Open Secure Socket License
      openssl.man.en_US       1.0.2.2104  COMMITTED  Open Secure Socket Layer
      openssl.base            1.0.2.2104  COMMITTED  Open Secure Socket Layer

    It means, you should open a case at Centrify. I don't think there are a lot of Centrify experts here.



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 5.  RE: AIX Server - SSH got disconnected immediately after installing AIX toolbox for Linux coreutils package - dnf method

    Posted Wed November 01, 2023 12:42 PM

                BUILDDATE Verification ...
    +-----------------------------------------------------------------------------+
    Verifying build dates...done
    FILESET STATISTICS
    ------------------
        1  Selected to be installed, of which:
            1  Already installed (directly or via superseding filesets)
      ----
        0  Total to be installed


    Pre-installation Failure/Warning Summary
    ----------------------------------------
    Name                      Level           Pre-installation Failure/Warning
    -------------------------------------------------------------------------------
    rpm.rte                   4.15.1.3        Already superseded by 4.15.1.1006

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

    ca-certificates-2017.07.17-1.ppc will be updated to ca-certificates-2020.06.01-0
    dnf-4.2.17-32_2 will be installed
    dnf-automatic-4.2.17-32_2 will be installed
    dnf-data-4.2.17-32_2 will be installed
    libcomps-0.1.11-32_1 will be installed
    libdnf-0.39.1-32_2 will be installed
    libmodulemd-1.5.2-32_2 will be installed
    librepo-1.11.0-32_1 will be installed
    libsmartcols-2.34-32_1 will be installed
    libsolv-0.7.9-32_1 will be installed
    libzstd-1.4.4-32_1 will be installed
    p11-kit-0.23.16-0 will be installed
    p11-kit-tools-0.23.16-0 will be installed
    python3-3.7.9-0 will be installed
    python3-dnf-4.2.17-32_2 will be installed
    python3-gpgme-1.13.1-32_1 will be installed
    python3-hawkey-0.39.1-32_2 will be installed
    python3-libcomps-0.1.11-32_1 will be installed
    python3-libdnf-0.39.1-32_2 will be installed
    python3-librepo-1.11.0-32_1 will be installed
    rpm-python3-4.15.1-32_1 will be installed
    yum-4.2.17-32_2 will be installed
    zchunk-libs-1.1.4-32_1 will be installed

    Installing the packages...

    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:python3-3.7.9-0                  ################################# [  4%]
       2:libzstd-1.4.4-32_1               ################################# [  8%]
       3:libmodulemd-1.5.2-32_2           ################################# [ 13%]
       4:libsolv-0.7.9-32_1               ################################# [ 17%]
       5:libsmartcols-2.34-32_1           ################################# [ 21%]
       6:zchunk-libs-1.1.4-32_1           ################################# [ 25%]
       7:librepo-1.11.0-32_1              ################################# [ 29%]
       8:rpm-python3-4.15.1-32_1          ################################# [ 33%]
       9:libdnf-0.39.1-32_2               ################################# [ 38%]
      10:python3-libdnf-0.39.1-32_2       ################################# [ 42%]
      11:dnf-data-4.2.17-32_2             ################################# [ 46%]
    Could not load program touch:
    Symbol resolution failed for touch because:
            Symbol _GLOBAL__AIXI_libintl_so (number 85) is not exported from dependent
              module /opt/freeware/lib/libintl.a[libintl.so.8].
            Symbol _GLOBAL__AIXD_libintl_so (number 86) is not exported from dependent
              module /opt/freeware/lib/libintl.a[libintl.so.8].
    Examine .loader section symbols with the 'dump -Tv' command.
    Could not load program ls:
    Symbol resolution failed for ls because:
            Symbol _GLOBAL__AIXI_libintl_so (number 111) is not exported from dependent
              module /opt/freeware/lib/libintl.a[libintl.so.8].
            Symbol _GLOBAL__AIXD_libintl_so (number 112) is not exported from dependent
              module /opt/freeware/lib/libintl.a[libintl.so.8].
    Examine .loader section symbols with the 'dump -Tv' command.
    [AIX_Toolbox_72]
    name=AIX 7.2 specific repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/
    enabled=1
    gpgcheck=0

      12:python3-hawkey-0.39.1-32_2       ################################# [ 50%]
      13:libcomps-0.1.11-32_1             ################################# [ 54%]
      14:python3-libcomps-0.1.11-32_1     ################################# [ 58%]
      15:python3-gpgme-1.13.1-32_1        ################################# [ 63%]
      16:python3-dnf-4.2.17-32_2          ################################# [ 67%]
      17:dnf-4.2.17-32_2                  ################################# [ 71%]
      18:p11-kit-0.23.16-0                ################################# [ 75%]
      19:p11-kit-tools-0.23.16-0          ################################# [ 79%]
      20:ca-certificates-2020.06.01-0     ################################# [ 83%]
    Could not load program ln:
    Symbol resolution failed for ln because:
            Symbol _GLOBAL__AIXI_libintl_so (number 86) is not exported from dependent
              module /opt/freeware/lib/libintl.a[libintl.so.8].
            Symbol _GLOBAL__AIXD_libintl_so (number 87) is not exported from dependent
              module /opt/freeware/lib/libintl.a[libintl.so.8].
    Examine .loader section symbols with the 'dump -Tv' command.
    warning: %post(ca-certificates-2020.06.01-0.ppc) scriptlet failed, exit status 255
      21:dnf-automatic-4.2.17-32_2        ################################# [ 88%]
      22:yum-4.2.17-32_2                  ################################# [ 92%]
      23:python3-librepo-1.11.0-32_1      ################################# [ 96%]
    Cleaning up / removing...
      24:ca-certificates-2017.07.17-1     ################################# [100%]
    Could not load program rm:
    Symbol resolution failed for rm because:
            Symbol _GLOBAL__AIXI_libintl_so (number 80) is not exported from dependent
              module /opt/freeware/lib/libintl.a[libintl.so.8].
            Symbol _GLOBAL__AIXD_libintl_so (number 81) is not exported from dependent
              module /opt/freeware/lib/libintl.a[libintl.so.8].
    Examine .loader section symbols with the 'dump -Tv' command.
    warning: %postun(ca-certificates-2017.07.17-1.ppc) scriptlet failed, exit status 255

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

    Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
    RPM packages install files go under the path /opt.
    Hence it is recommended to always keep at least 512MB of free space in /var & /opt
    to avoid any download and installation/update failures.

    Creating the dnf.conf file with required locale repositories.
    The default /opt/freeware/etc/dnf/dnf.conf has been saved as /opt/freeware/etc/dnf/dnf.conf_local_bak

    hostname: # dnf repolist
    ksh: dnf:  not found.
    hostname: # cat /opt/freeware/etc/dnf/dnf.conf
    [main]
    cachedir=/var/cache/dnf
    keepcache=1
    debuglevel=2
    logfile=/var/log/dnf.log
    exactarch=1
    gpgcheck=1
    installonly_limit=3
    clean_requirements_on_remove=True
    best=True

    plugins=1

    [Local_AIX_Toolbox]
    name=Local AIX generic repository
    baseurl=file:///mnt/RPMS/ppc/
    enabled=1
    gpgcheck=0

    [Local_AIX_Toolbox_noarch]
    name=Local AIX noarch repository
    baseurl=file:///mnt/RPMS/noarch/
    enabled=1
    gpgcheck=0

    [Local_AIX_Toolbox_72]
    name=Local AIX 7.2 specific repository
    baseurl=file:///mnt/RPMS/ppc-7.2/
    enabled=1
    gpgcheck=0

    hostname: #
    hostname: #
    hostname: #
    hostname: #
    hostname: #
    hostname: #
    hostname: #
    hostname: #
    hostname: #
    hostname: #
    hostname: #
    hostname: # dnf repolist
    ksh: dnf:  not found.
    hostname: # PATH=/usr/bin:/etc:/usr/sbin:/opt/freeware/bin:/usr/ucb:HOME/bin:/usr/bin/X11:/sbin:.
    hostname: # export PATH
    hostname: # dnf repolist
    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 31, in <module>
        from dnf.comps import CompsQuery
      File "/opt/freeware/lib/python3.7/site-packages/dnf/comps.py", line 27, in <module>
        from dnf.exceptions import CompsError
      File "/opt/freeware/lib/python3.7/site-packages/dnf/exceptions.py", line 22, in <module>
        import dnf.util
      File "/opt/freeware/lib/python3.7/site-packages/dnf/util.py", line 30, in <module>
        import dnf.callback
      File "/opt/freeware/lib/python3.7/site-packages/dnf/callback.py", line 22, in <module>
        import dnf.yum.rpmtrans
      File "/opt/freeware/lib/python3.7/site-packages/dnf/yum/rpmtrans.py", line 26, in <module>
        import rpm
    ModuleNotFoundError: No module named 'rpm'
    hostname: # ln -sf /usr/opt/rpm/lib/python3.7/site-packages/rpm /opt/freeware/lib/python3.7/site-packages/rpm
    hostname: #
    hostname: # lslpp -L rpm.rte
      Fileset                      Level  State  Type  Description (Uninstaller)
      ----------------------------------------------------------------------------
      rpm.rte                4.15.1.1006    C     F    RPM Package Manager


    State codes:
     A -- Applied.
     B -- Broken.
     C -- Committed.
     E -- EFIX Locked.
     O -- Obsolete.  (partially migrated to newer version)
     ? -- Inconsistent State...Run lppchk -v.

    Type codes:
     F -- Installp Fileset
     P -- Product
     C -- Component
     T -- Feature
     R -- RPM Package
    E -- Interim Fix

    Receiving below errors from application end

    exec(): 0509-036 Cannot load program stat because of the following errors:
            0509-130 Symbol resolution failed for stat because:
            0509-136   Symbol _GLOBAL__AIXI_libintl_so (number 90) is not exported from
                       dependent module /opt/freeware/lib/libintl.a[libintl.so.8].
            0509-136   Symbol _GLOBAL__AIXD_libintl_so (number 91) is not exported from
                       dependent module /opt/freeware/lib/libintl.a[libintl.so.8].
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.

    So I have tried to perform below steps

    hostname: # rpm -e openssl
    error: package openssl is not installed
    hostname: # rpm -q --whatprovides /opt/freeware/lib/libintl.a
    gettext-0.19.8.1-3.ppc
    hostname: # rpm -q --whatprovides /opt/freeware/lib/libintl.so
    error: file /opt/freeware/lib/libintl.so: A file or directory in the path name does not exist.
    hostname: # ar -X32_64 -tv /opt/freeware/lib/libintl.a | grep libintl
    rwxr-xr-x     0/0      76058 Nov 22 00:46 2018 libintl.so.8
    rwxr-xr-x     0/0      83162 Nov 22 00:36 2018 libintl.so.8
    rwxr-xr-x     0/0     114582 Nov 22 01:27 2018 libintl.so.1
    rwxr-xr-x     0/0     130986 Nov 22 01:27 2018 libintl.so.1
    hostname: # ar -X32_64 -tv /usr/opt/rpm/lib/libintl.a
    rwxr-xr-x     0/0      93072 May 28 04:38 2022 libintl.so.8
    rwxr-xr-x     0/0     101387 May 28 04:52 2022 libintl.so.8
    rw-r-----     0/0     114582 May 28 04:52 2022 libintl.so.1
    rw-r-----     0/0     130986 May 28 04:52 2022 libintl.so.1

    mv /opt/freeware/lib/libintl.a /opt/freeware/lib/libintl.a.gettext
    mv: 0653-401 Cannot rename /opt/freeware/lib/libintl.a to /opt/freeware/lib/libintl.a.gettext:
                 A file or directory in the path name does not exist.

    hostname: # ssh -V
    OpenSSH_8.8p1 (CentrifyDC build 5.9.1-313) , OpenSSL 3.0.7 1 Nov 2022
    hostname: #

    hostname: # dnf check
    coreutils-9.0-1.ppc has missing requires of libgcc >= 8.3.0
    coreutils-9.0-1.ppc has missing requires of libiconv >= 1.16
    gcc-4.8.3-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    gcc-4.8.3-1.ppc has missing requires of libgcc = 4.8.3-1
    gcc-c++-4.8.3-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    gcc-cpp-4.8.3-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    gcc-gfortran-4.8.3-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    gettext-0.19.8.1-3.ppc has missing requires of libncurses.a(libncurses.so.6)
    git-2.20.1-1.ppc has missing requires of /usr/bin/bash
    libgcc-6.3.0-2.ppc has missing requires of AIX-rpm < 7.2.0.0
    libgomp-4.8.3-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    libstdc++-4.8.3-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    libstdc++-devel-4.8.3-1.ppc has missing requires of AIX-rpm < 7.2.0.0
    pci.101402BD.20-02200065-1.noarch is a duplicate with pci.101402BD.20-03200066-1.noarch
    pci.101402BD.20-02200065-1.noarch is a duplicate with pci.101402BD.20-04200020-1.noarch
    pci.1069B166.0A-050A007b-1.noarch is a duplicate with pci.1069B166.0A-050A008a-1.noarch
    pci.1069B166.0A-050A007b-1.noarch is a duplicate with pci.1069B166.0A-070A0011-1.noarch
    python-2.7.12-2.ppc has missing requires of libncurses.a(libncurses.so.6)
    python-2.7.12-2.ppc has missing requires of libpanel.a(libpanel.so.6)
    python-2.7.12-2.ppc has missing requires of readline >= 5.2
    Error: Check discovered 20 problem(s)
    hostname: #


    If I give dnf update, immediately libiconv package will update to the latest version and will disconnect from centrify-sshd.

    Please suggest to install coreutils without any issues.



    ------------------------------
    BATCHA RIAZ AHAMED S
    ------------------------------