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.  Unable to install AIX Toolbox for Linux "coreutils" package.

    Posted Tue September 05, 2023 12:26 PM
      |   view attached

    Unable to install AIX Toolbox for Linux "coreutils" package. 

    I have followed the below steps for the coreutils package installation, but facing issues. Please let me know if the issue is related to centrify-sshd, because in previous time I was able to install dnf and install coreutils in another AIX development server, but we are unable to access the server using putty ssh. So we have booted the server from alt_clone disk and then working fine without coreutils package. Now additionally before some days, we have updated ifix for openssh as part of CVE-2023-38408. Please check whether the curl not updating issue is related to centrify-sshd or new openssl update..

    tar xvf dnf_bundle_aix_71_72_v1.tar   
    rm dnf_bundle_aix_71_72_v1.tar 
    rpm -Uvh *.rpm 

    hostname: # ls -ltr
    total 343752
    -rw-r-----    1 root     system        12734 Jul 11 2021  python3-tools-3.7.9-0.aix7.1.ppc.rpm
    -rw-r-----    1 root     system     28383122 Jul 11 2021  python3-test-3.7.9-0.aix7.1.ppc.rpm
    -rw-r-----    1 root     system      2993180 Jul 11 2021  python3-docs-3.7.9-0.aix7.1.ppc.rpm
    -rw-r-----    1 root     system       237244 Jul 11 2021  python3-devel-3.7.9-0.aix7.1.ppc.rpm
    -rw-r--r--    1 root     system       363137 Jul 11 2021  python3-dateutil-2.8.0-1.aix6.1.noarch.rpm
    -rw-r-----    1 root     system     43168080 Jul 11 2021  python3-3.7.9-0.aix7.1.ppc.rpm
    -rw-r-----    1 root     system        39777 Jul 11 2021  p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm
    -rw-r-----    1 root     system      1047702 Jul 11 2021  p11-kit-0.23.16-0.aix7.1.ppc.rpm
    -rw-r-----    1 root     system       952182 Jul 11 2021  ca-certificates-2020.06.01-0.aix7.1.ppc.rpm
    -rw-r--r--    1 root     system          218 Jul 11 2021  extra_list
    -rw-r--r--    1 root     system     40620032 Jul 11 2021  rpm.rte
    -rw-------    1 root     system       100168 Jul 11 2021  rpm-python3-4.15.1-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system       682308 Jul 11 2021  python3-gpgme-1.13.1-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system       469194 Jul 11 2021  libzstd-1.4.4-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system      3419904 Jul 11 2021  libmodulemd-1.5.2-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system      1533403 Jul 11 2021  libsolv-0.7.9-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system       183412 Jul 11 2021  libsmartcols-2.34-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system      3650338 Jul 11 2021  librepo-1.11.0-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system      2292962 Jul 11 2021  python3-librepo-1.11.0-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system      1273338 Jul 11 2021  libcomps-0.1.11-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system      1020925 Jul 11 2021  python3-libcomps-0.1.11-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system       552363 Jul 11 2021  zchunk-1.1.4-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system       534328 Jul 11 2021  zchunk-libs-1.1.4-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system        19487 Jul 11 2021  zchunk-devel-1.1.4-32_1.aix7.1.ppc.rpm
    -rw-r--r--    1 root     system       514483 Jul 11 2021  python3-six-1.13.0-1.aix6.1.noarch.rpm
    -rw-------    1 root     system     15810379 Jul 12 2021  libdnf-0.39.1-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system     22549730 Jul 12 2021  python3-libdnf-0.39.1-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system      3113691 Jul 12 2021  python3-hawkey-0.39.1-32_1.aix7.1.ppc.rpm
    -rw-------    1 root     system        11676 Jul 21 2021  dnf-4.2.17-32_1.aix7.1.noarch.rpm
    -rw-------    1 root     system        13016 Jul 21 2021  dnf-automatic-4.2.17-32_1.aix7.1.noarch.rpm
    -rw-------    1 root     system        24151 Jul 21 2021  dnf-data-4.2.17-32_1.aix7.1.noarch.rpm
    -rw-------    1 root     system       197935 Jul 21 2021  python3-dnf-4.2.17-32_1.aix7.1.noarch.rpm
    -rw-------    1 root     system         9188 Jul 21 2021  yum-4.2.17-32_1.aix7.1.noarch.rpm
    -rw-------    1 root     system         8546 Jul 21 2021  python3-dnf-plugin-migrate-4.0.16-32_1.aix7.1.noarch.rpm
    -rw-------    1 root     system        49763 Jul 21 2021  python3-dnf-plugins-core-4.0.16-32_1.aix7.1.noarch.rpm
    -rwx------    1 root     system        11065 Oct 29 2021  install_dnf.sh
    ftwaxdevr007: #

    ./install_dnf.sh -d 

    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.


    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: # ln -sf /usr/opt/rpm/lib/python3.7/site-packages/rpm /opt/freeware/lib/python3.7/site-packages/rpm
    hostname: # dnf repolist
    repo id                                                   repo name
    AIX_Toolbox                                               AIX generic repository
    AIX_Toolbox_72                                            AIX 7.2 specific repository
    AIX_Toolbox_noarch                                        AIX noarch repository
    hostname: # dnf search coreutils
    AIX generic repository                                                                       0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox':
      - Curl error (35): SSL connect error for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml [OpenSSL SSL_connect: A connection with a remote socket was reset by that socket. in connection to public.dhe.ibm.com:443 ]
    Error: Failed to download metadata for repo 'AIX_Toolbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX noarch repository                                                                        0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_noarch':
      - Curl error (35): SSL connect error for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/noarch/repodata/repomd.xml [OpenSSL SSL_connect: A connection with a remote socket was reset by that socket. in connection to public.dhe.ibm.com:443 ]
    Error: Failed to download metadata for repo 'AIX_Toolbox_noarch': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    AIX 7.2 specific repository                                                                  0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'AIX_Toolbox_72':
      - Curl error (35): SSL connect error for anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/repodata/repomd.xml">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/repodata/repomd.xml [OpenSSL SSL_connect: A connection with a remote socket was reset by that socket. in connection to public.dhe.ibm.com:443 ]
    Error: Failed to download metadata for repo 'AIX_Toolbox_72': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: AIX_Toolbox, AIX_Toolbox_noarch, AIX_Toolbox_72
    No matches found.
    hostname: #

    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: Unable to install AIX Toolbox for Linux "coreutils" package.

    Posted Thu September 14, 2023 09:07 AM

    Can you please run this command in your machine and check whether it is successful or not?

    openssl s_client -connect public.dhe.ibm.com:443



    ------------------------------
    Harshith K A
    ------------------------------



  • 3.  RE: Unable to install AIX Toolbox for Linux "coreutils" package.

    Posted Mon September 18, 2023 03:54 AM

    hostname: # openssl s_client -connect public.dhe.ibm.com:443
    CONNECTED(00000004)
    write:errno=73
    ---
    no peer certificate available
    ---
    No client certificate CA names sent
    ---
    SSL handshake has read 0 bytes and written 320 bytes
    Verification: OK
    ---
    New, (NONE), Cipher is (NONE)
    Secure Renegotiation IS NOT supported
    Compression: NONE
    Expansion: NONE
    No ALPN negotiated
    Early data was not sent
    Verify return code: 0 (ok)
    ---
    hostname: #



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



  • 4.  RE: Unable to install AIX Toolbox for Linux "coreutils" package.

    Posted Mon September 18, 2023 03:55 AM
    Edited by BATCHA RIAZ AHAMED S Mon September 18, 2023 03:57 AM

    Is there any options to install coreutls package on AIX Server, still unable to install. please help and provide me steps if you have.

    hostname: # openssl s_client -connect public.dhe.ibm.com:443
    CONNECTED(00000004)
    write:errno=73
    ---
    no peer certificate available
    ---
    No client certificate CA names sent
    ---
    SSL handshake has read 0 bytes and written 320 bytes
    Verification: OK
    ---
    New, (NONE), Cipher is (NONE)
    Secure Renegotiation IS NOT supported
    Compression: NONE
    Expansion: NONE
    No ALPN negotiated
    Early data was not sent
    Verify return code: 0 (ok)
    ---
    hostname: #

    hostname: # oslevel -s
    7200-05-05-2246
    hostname: #


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



  • 5.  RE: Unable to install AIX Toolbox for Linux "coreutils" package.

    Posted Wed September 20, 2023 03:06 AM

    It looks like a network related error. Can you please check whether 443 port is enabled in your environment.



    ------------------------------
    Harshith K A
    ------------------------------