AIX Open Source

 View Only
Expand all | Collapse all

issue with dnf update after successful dnf install

  • 1.  issue with dnf update after successful dnf install

    IBM Champion
    Posted Mon August 01, 2022 07:44 PM
    I installed dnf using the script.  I worked successfully.  It said that rpm was already installed.  When I try to run dnf update as instructed it fails.  I tried setting LIBPATH as mentioned in a previous post and it didn't help.

    AIX 7200-05-04-2220

    # rpm -qa
    expect-5.42.1-3.ppc
    gettext-0.17-1.ppc
    popt-1.16-1.ppc
    bash-4.2-3.ppc
    tk-8.4.7-3.ppc
    sudo-1.6.7p5-3.ppc
    expat-2.0.1-3.ppc
    rsync-3.0.6-1.ppc
    tcl-8.4.7-3.ppc
    zip-2.3-3.ppc
    info-4.13a-2.ppc
    logrotate-3.7.9-2.ppc
    lpar2rrd-agent-7.40-4.ppc
    unzip-5.51-1.ppc
    glib2-2.28.6-1.ppc
    coreutils-64bit-8.5-2.ppc
    AIX-rpm-7.2.5.103-7.ppc

    # ./dnf_aixtoolbox.sh -d
    Attempting download of dnf_bundle_aix_71_72.tar ...
    Saving to 'dnf_bundle_aix_71_72.tar'...
    168 MB received in 6 minutes (437 KB/sec)

    Extracting dnf_bundle_aix_71_72.tar ...
    x ca-certificates-2020.06.01-0.aix7.1.ppc.rpm, 952182 bytes, 1860 tape blocks
    x dnf-4.2.17-32_2.aix7.1.noarch.rpm, 10981 bytes, 22 tape blocks
    x dnf-automatic-4.2.17-32_2.aix7.1.noarch.rpm, 12288 bytes, 24 tape blocks
    x dnf-data-4.2.17-32_2.aix7.1.noarch.rpm, 23516 bytes, 46 tape blocks
    x extra_list, 218 bytes, 1 tape blocks
    x install_dnf.sh, 11878 bytes, 24 tape blocks
    x libcomps-0.1.11-32_1.aix7.1.ppc.rpm, 1273338 bytes, 2487 tape blocks
    x libdnf-0.39.1-32_2.aix7.1.ppc.rpm, 15810655 bytes, 30881 tape blocks
    x libmodulemd-1.5.2-32_2.aix7.1.ppc.rpm, 3433754 bytes, 6707 tape blocks
    x librepo-1.11.0-32_1.aix7.1.ppc.rpm, 3650338 bytes, 7130 tape blocks
    x libsmartcols-2.34-32_1.aix7.1.ppc.rpm, 183412 bytes, 359 tape blocks
    x libsolv-0.7.9-32_1.aix7.1.ppc.rpm, 1533403 bytes, 2995 tape blocks
    x libzstd-1.4.4-32_1.aix7.1.ppc.rpm, 469194 bytes, 917 tape blocks
    x p11-kit-0.23.16-0.aix7.1.ppc.rpm, 1047702 bytes, 2047 tape blocks
    x p11-kit-tools-0.23.16-0.aix7.1.ppc.rpm, 39777 bytes, 78 tape blocks
    x python3-3.7.9-0.aix7.1.ppc.rpm, 43168080 bytes, 84313 tape blocks
    x python3-dateutil-2.8.0-1.aix6.1.noarch.rpm, 363137 bytes, 710 tape blocks
    x python3-devel-3.7.9-0.aix7.1.ppc.rpm, 237244 bytes, 464 tape blocks
    x python3-dnf-4.2.17-32_2.aix7.1.noarch.rpm, 197205 bytes, 386 tape blocks
    x python3-dnf-plugin-migrate-4.0.16-32_1.aix7.1.noarch.rpm, 8546 bytes, 17 tape blocks
    x python3-dnf-plugins-core-4.0.16-32_1.aix7.1.noarch.rpm, 49763 bytes, 98 tape blocks
    x python3-docs-3.7.9-0.aix7.1.ppc.rpm, 2993180 bytes, 5847 tape blocks
    x python3-gpgme-1.13.1-32_1.aix7.1.ppc.rpm, 682308 bytes, 1333 tape blocks
    x python3-hawkey-0.39.1-32_2.aix7.1.ppc.rpm, 3113865 bytes, 6082 tape blocks
    x python3-libcomps-0.1.11-32_1.aix7.1.ppc.rpm, 1020925 bytes, 1994 tape blocks
    x python3-libdnf-0.39.1-32_2.aix7.1.ppc.rpm, 22549836 bytes, 44043 tape blocks
    x python3-librepo-1.11.0-32_1.aix7.1.ppc.rpm, 2292962 bytes, 4479 tape blocks
    x python3-six-1.13.0-1.aix6.1.noarch.rpm, 514483 bytes, 1005 tape blocks
    x python3-test-3.7.9-0.aix7.1.ppc.rpm, 28383122 bytes, 55436 tape blocks
    x python3-tools-3.7.9-0.aix7.1.ppc.rpm, 12734 bytes, 25 tape blocks
    x rpm-python3-4.15.1-32_1.aix7.1.ppc.rpm, 100168 bytes, 196 tape blocks
    x rpm.rte, 40620032 bytes, 79336 tape blocks
    x yum-4.2.17-32_2.aix7.1.noarch.rpm, 8466 bytes, 17 tape blocks
    x zchunk-1.1.4-32_1.aix7.1.ppc.rpm, 552363 bytes, 1079 tape blocks
    x zchunk-devel-1.1.4-32_1.aix7.1.ppc.rpm, 19487 bytes, 39 tape blocks
    x zchunk-libs-1.1.4-32_1.aix7.1.ppc.rpm, 534328 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...

    WARNINGS
    --------
    Problems described in this section are not likely to be the source of any
    immediate or serious failures, but further actions may be necessary or
    desired.

    Already Installed
    -----------------
    The number of selected filesets that are either already installed
    or effectively installed through superseding filesets is 1. See
    the summaries at the end of this installation for details.

    NOTE: Base level filesets may be reinstalled using the "Force"
    option (-F flag), or they may be removed, using the deinstall or
    "Remove Software Products" facility (-u flag), and then reinstalled.

    << End of Warning Section >>

    +-----------------------------------------------------------------------------+
    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 installed



    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-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
    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 ################################# [ 5%]
    2:libzstd-1.4.4-32_1 ################################# [ 9%]
    3:libmodulemd-1.5.2-32_2 ################################# [ 14%]
    4:libsolv-0.7.9-32_1 ################################# [ 18%]
    5:libsmartcols-2.34-32_1 ################################# [ 23%]
    6:zchunk-libs-1.1.4-32_1 ################################# [ 27%]
    7:librepo-1.11.0-32_1 ################################# [ 32%]
    8:rpm-python3-4.15.1-32_1 ################################# [ 36%]
    9:libdnf-0.39.1-32_2 ################################# [ 41%]
    10:python3-libdnf-0.39.1-32_2 ################################# [ 45%]
    11:python3-hawkey-0.39.1-32_2 ################################# [ 50%]
    12:libcomps-0.1.11-32_1 ################################# [ 55%]
    13:python3-libcomps-0.1.11-32_1 ################################# [ 59%]
    14:python3-gpgme-1.13.1-32_1 ################################# [ 64%]
    15:p11-kit-0.23.16-0 ################################# [ 68%]
    16:p11-kit-tools-0.23.16-0 ################################# [ 73%]
    17:dnf-data-4.2.17-32_2 ################################# [ 77%]
    18:python3-dnf-4.2.17-32_2 ################################# [ 82%]
    19:dnf-4.2.17-32_2 ################################# [ 86%]
    20:dnf-automatic-4.2.17-32_2 ################################# [ 91%]
    21:ca-certificates-2020.06.01-0 ################################# [ 95%]
    22:python3-librepo-1.11.0-32_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.


    # /opt/freeware/bin/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>

    echo $LIBPATH
    /opt/freeware/libdnfdeps:/opt/freeware/lib:usr/lib:/lib
    root@michgoasisappl08d:/ >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 /usr/opt/rpm/lib/libpopt.a(libpopt.so.0).
    Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.
    Member libintl.so.8 is not found in archive
    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    Dependent module /usr/opt/rpm/lib/libpopt.a(libpopt.so.0) could not be loaded.






















    ------------------------------
    Norman Owens
    Open Systems Architect
    Mohawk Industries
    ------------------------------


  • 2.  RE: issue with dnf update after successful dnf install

    Posted Tue August 02, 2022 12:14 PM
    You should not set LIBPATH it should work without that.
    Please unset the LIBPATH and paste the complete error/output of "dnf update" 
    I think currently it is truncated.

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: issue with dnf update after successful dnf install

    IBM Champion
    Posted Tue August 02, 2022 05:12 PM

    echo $LIBPATH

     

    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 /usr/opt/rpm/lib/libpopt.a(libpopt.so.0).

            Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.

            Member libintl.so.8 is not found in archive

    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.

            Dependent module /usr/opt/rpm/lib/libpopt.a(libpopt.so.0) could not be loaded.

     

    Norman Owens

    2022 IBM Champions, 2022 Red Hat Accelerators

    Infrastructure Architect – Global IS
    Mohawk Industries

    1155 Roberts Boulevard, Ste. 200, Kennesaw, GA 30144
    Phone: 678.355.5853 | Internal: 55853 | Office Main Line: 770.792.6300 | Fax: 678.355.5810
    Email:  norman_owens@mohawkind.com

    CertPowerSystems_color

    mohawk

     

     

     

     






  • 4.  RE: issue with dnf update after successful dnf install

    Posted Thu August 04, 2022 12:51 PM
    Hi Norman,
    Are you have right RPMs installed. 
    It is complaining for libintl.a not having libintl.so.8 
    But AIX toolbox provided libintl.a have libintl.so.8 
    In my system 
    # ar -t /opt/freeware/lib/libintl.a
    libintl.so.8
    libintl.so.1

    So probably there is something wrong in your system.

    Can you please share output of 
    "ar -t /opt/freeware/lib/libintl.a"
    and
    "rpm -qa"


    ------------------------------
    SANKET RATHI
    ------------------------------



  • 5.  RE: issue with dnf update after successful dnf install

    IBM Champion
    Posted Thu August 04, 2022 01:57 PM

    # ar -t /opt/freeware/lib/libintl.a

    libintl.so.1

    intl-compat.o

    bindtextdom.o

    dcgettext.o

    dgettext.o

    gettext.o

    finddomain.o

    loadmsgcat.o

    localealias.o

    textdomain.o

    l10nflist.o

    explodename.o

    dcigettext.o

    dcngettext.o

    dngettext.o

    ngettext.o

    plural.o

    localcharset.o

     

     

    # rpm -qa

    expect-5.42.1-3.ppc

    gettext-0.17-1.ppc

    popt-1.16-1.ppc

    bash-4.2-3.ppc

    tk-8.4.7-3.ppc

    sudo-1.6.7p5-3.ppc

    expat-2.0.1-3.ppc

    rsync-3.0.6-1.ppc

    python3-3.7.9-0.ppc

    libmodulemd-1.5.2-32_2.ppc

    libsmartcols-2.34-32_1.ppc

    librepo-1.11.0-32_1.ppc

    libdnf-0.39.1-32_2.ppc

    python3-hawkey-0.39.1-32_2.ppc

    python3-libcomps-0.1.11-32_1.ppc

    p11-kit-0.23.16-0.ppc

    dnf-data-4.2.17-32_2.noarch

    dnf-4.2.17-32_2.noarch

    ca-certificates-2020.06.01-0.ppc

    AIX-rpm-7.2.5.103-8.ppc

    tcl-8.4.7-3.ppc

    zip-2.3-3.ppc

    info-4.13a-2.ppc

    logrotate-3.7.9-2.ppc

    lpar2rrd-agent-7.40-4.ppc

    unzip-5.51-1.ppc

    glib2-2.28.6-1.ppc

    coreutils-64bit-8.5-2.ppc

    libzstd-1.4.4-32_1.ppc

    libsolv-0.7.9-32_1.ppc

    zchunk-libs-1.1.4-32_1.ppc

    rpm-python3-4.15.1-32_1.ppc

    python3-libdnf-0.39.1-32_2.ppc

    libcomps-0.1.11-32_1.ppc

    python3-gpgme-1.13.1-32_1.ppc

    p11-kit-tools-0.23.16-0.ppc

    python3-dnf-4.2.17-32_2.noarch

    dnf-automatic-4.2.17-32_2.noarch

    python3-librepo-1.11.0-32_1.ppc

     

    Norman Owens

    2022 IBM Champions, 2022 Red Hat Accelerators

    Infrastructure Architect – Global IS
    Mohawk Industries

    1155 Roberts Boulevard, Ste. 200, Kennesaw, GA 30144
    Phone: 678.355.5853 | Internal: 55853 | Office Main Line: 770.792.6300 | Fax: 678.355.5810
    Email:  norman_owens@mohawkind.com

    CertPowerSystems_color

    mohawk

     

     

     

     






  • 6.  RE: issue with dnf update after successful dnf install

    Posted Fri August 05, 2022 04:51 AM
    Edited by Stephan Dietl Fri August 05, 2022 04:53 AM

    Hello @Norman Owens !

    My system looks like that, DNF and newest packages from Toolbox:

    [USER@EXAMPLESERVER:/SCRIPTS/ANSIBLE/AIX]# lslpp -w /opt/freeware/lib/libintl*


    [USER@EXAMPLESERVER:/SCRIPTS/ANSIBLE/AIX]# ls -alrt /opt/freeware/lib/libintl*
    -rw-r--r-- 1 root system 435216 Apr 06 14:59 /opt/freeware/lib/libintl.a
    [USER@EXAMPLESERVER:/SCRIPTS/ANSIBLE/AIX]# rpm -q --whatprovides /opt/freeware/lib/libintl*
    gettext-0.21-1.ppc

    [USER@EXAMPLESERVER:/SCRIPTS/ANSIBLE/AIX]# rpm -qa|grep -E "dnf|ca-cert"
    python3-dnf-plugins-core-4.0.16-32_50.ppc
    python3-dnf-plugin-versionlock-4.0.16-32_50.ppc
    dnf-data-4.2.17-32_50.ppc
    libdnf-0.39.1-32_50.ppc
    python3-dnf-4.2.17-32_50.ppc
    dnf-automatic-4.2.17-32_50.ppc
    ca-certificates-2021.2.52-3.ppc
    dnf-utils-4.0.16-32_50.ppc
    python3-dnf-plugin-migrate-4.0.16-32_50.ppc
    python3-libdnf-0.39.1-32_50.ppc
    dnf-4.2.17-32_50.ppc
    dnf-plugins-core-4.0.16-32_50.ppc

    1.) From which source do you have gettext in the old version 0.17 installed? Perzl?

    2.) Did you do an upgrade, your ca-certificates f.e. are very old!

    HTH,

    With kind regards,

    Steve



    ------------------------------
    Stephan Dietl
    ------------------------------



  • 7.  RE: issue with dnf update after successful dnf install

    Posted Fri August 05, 2022 01:19 PM
    Thanks Stephen.
    Hi Norman, 
    The libintl.a in your system (which is provided by gettext) does not provide shared objects needed for dnf and its dependencies to run. 
    I am not sure how did you install dnf because then these rpms should have installed.
    Looks like you have gettext from some other source. 
    I don't think AIX toolbox ever shipped gettext-0.17 version.
    You can verify using rpm -qi command.
    "rpm -qi gettext" 

    Anyway you should install latest gettext from AIX toolbox and then try.



    ------------------------------
    SANKET RATHI
    ------------------------------



  • 8.  RE: issue with dnf update after successful dnf install

    IBM Champion
    Posted Wed August 17, 2022 03:14 PM
    Stephan and Sanket,

    This server has been upgraded probably from AIX 6.x to now AIX 7.2.  So, that explains why the old gettext came from.  And yes, I probably got it from perlz several years ago. 

    In terms of how did I install dnf, I used the dnf_install.sh script from the AIX Toolbox website. 

    What I had to do to fix my issue is to remove all of the RPM packages and then run the dnf_install.sh script again.  Now I'm able to do dnf update.  So, my procedure will be to remove the old RPM packages going forward.  I wrote a for loop to just remove the rpm packages.

    Thanks for your help.

    Norman

    ------------------------------
    Norman Owens
    Open Systems Architect
    Mohawk Industries
    ------------------------------



  • 9.  RE: issue with dnf update after successful dnf install

    Posted Thu August 18, 2022 11:39 AM

    I am also getting same issue ,.. after installing dnf script on server . Could nay help me for the same to fic this ?

    ============
    > /opt/freeware/bin/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: 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@red-ml3nim1]: /



    ------------------------------
    Pankaj Kumar
    ------------------------------



  • 10.  RE: issue with dnf update after successful dnf install

    Posted Thu August 18, 2022 11:56 AM
    Edited by Stephan Dietl Thu August 18, 2022 12:01 PM

    Hello @Pankaj Kumar !

    On my servers, one example provided, it looks like that (AIX 7.2 TL 5 SP 4 with newest DNF installed packages):

    # find / \( -fstype jfs -o -fstype jfs2 \) -name libcrypto.a
    /usr/lib/libcrypto.a

    # ar -t /usr/lib/libcrypto.a
    libcrypto.so
    libcrypto.so.0.9.8
    libcrypto.so.1.0.0
    libcrypto.so.1.0.2
    libcrypto.so.1.1

    # dnf whatprovides /usr/lib/libcrypto.a
    Last metadata expiration check: 3:59:54 ago on Thu Aug 18 13:50:29 MEST 2022.
    Error: No Matches found

    # lslpp -w /usr/lib/libcrypto.a
    File Fileset Type
    ----------------------------------------------------------------------------
    /usr/lib/libcrypto.a openssl.base File

    I´m puzzled where this dependency problem with librepo and libcrypt is coming from... what version of OpenSSL is installed on your system?

    # lslpp -L openssl*
    Fileset Level State Type Description (Uninstaller)
    ----------------------------------------------------------------------------
    openssl.base 1.1.1.1201 C F Open Secure Socket Layer

    We made the upgrade from 1.0.2 to 1.1.1 some time ago (to get rid of ansible / python cryptography "You are linking against OpenSSL 1.0.2, which is no longer supported by the OpenSSL project." message ;) ) !

    (For the records:

    # dnf whatprovides /opt/freeware/lib/librepo.a
    Last metadata expiration check: 3:57:36 ago on Thu Aug 18 13:50:29 MEST 2022.
    librepo-1.11.0-100.ppc : Repodata downloading library
    Repo : @System
    Matched from:
    Filename : /opt/freeware/lib/librepo.a

    librepo-1.11.0-100.ppc : Repodata downloading library
    Repo : AIX_Toolbox
    Matched from:
    Filename : /opt/freeware/lib/librepo.a )

    HTH,

    Ciao,

    Steve

    ------------------------------
    Stephan Dietl
    ------------------------------



  • 11.  RE: issue with dnf update after successful dnf install

    Posted Mon August 22, 2022 04:00 AM

    Hi Stephan .. Here below is the packages I have installed 

    [root@ergsdpnimlp01]: /
    > find / \( -fstype jfs -o -fstype jfs2 \) -name libcrypt.a
    /export/eznim/spot/720spot_res/usr/lib/libcrypt.a
    /export/eznim/spot/ml3_spot/usr/lib/libcrypt.a
    /export/eznim/spot/spotAIX72TL3SP2/spotAIX72TL3SP2/usr/lib/libcrypt.a
    /usr/lib/libcrypt.a
    [root@ergsdpnimlp01]: /
    > ar -t /usr/lib/libcrypt.a
    shr.o
    [root@ergsdpnimlp01]: /
    > /opt/freeware/bin/dnf whatprovides /usr/lib/libcrypt.a
    ksh: /opt/freeware/bin/dnf: not found.
    [root@ergsdpnimlp01]: /
    > lslpp -w /usr/lib/libcrypt.a
    File Fileset Type
    ----------------------------------------------------------------------------
    /usr/lib/libcrypt.a bos.rte.security File
    [root@ergsdpnimlp01]: /
    > lslpp -L bos.rte.security
    Fileset Level State Type Description (Uninstaller)
    ----------------------------------------------------------------------------
    bos.rte.security 7.2.5.102 A F Base Security Function

    [root@ergsdpnimlp01]: /
    > /opt/freeware/bin/dnf whatprovides /opt/freeware/lib/librepo.a
    ksh: /opt/freeware/bin/dnf: not found.
    [root@ergsdpnimlp01]: /
    > lslpp -L openssl*
    Fileset Level State Type Description (Uninstaller)
    ----------------------------------------------------------------------------
    openssl.base 1.1.1.1201 C F Open Secure Socket Layer
    openssl.license 1.1.1.1201 C F Open Secure Socket License
    openssl 1.0.1g-1 C R Secure Sockets Layer and
    cryptography libraries and
    tools (/bin/rpm)



    ------------------------------
    Pankaj Kumar
    ------------------------------



  • 12.  RE: issue with dnf update after successful dnf install

    Posted Mon August 22, 2022 04:27 AM
    Hello @Pankaj Kumar !

    Please note that you looked for ​/usr/lib/libcrypt.a but we need /usr/lib/libcrypto.a​ , with an O !

    And you have the openssl of IBM and of another source (openssl 1.0.1g-1) installed!


    Please check the output,

    With kind regards,

    Stephan Dietl


    ------------------------------
    Stephan Dietl
    ------------------------------



  • 13.  RE: issue with dnf update after successful dnf install

    Posted Mon August 22, 2022 04:30 AM
    Hi Pankaj,

    Looks like you have openssl rpm package also installed on your system.
    Can you please verify 
    # rpm -qa | grep openssl

    The openssl rpm package installing libssl/libcrypto libraries in /opt/freeware/lib path and AIX toolbox packages finding them first.
    AIX toolbox packages are built against AIX provided openssl so please remove the openssl rpm and see if that resolves the issue.
    openssl rpm is not provided by AIX Toolbox or AIX it is from some other source. ​

    ------------------------------
    SANKET RATHI
    ------------------------------



  • 14.  RE: issue with dnf update after successful dnf install

    Posted Wed December 20, 2023 09:54 PM

    try to do this:

    export LIBPATH=/usr/opt/rpm/lib:$/opt/freeware/lib

    [/opt/freeware/bin]# env | grep LIBPATH
    LIBPATH=/usr/opt/rpm/lib:$/opt/freeware/lib

    [/opt/freeware/bin]# ./dnf



    ------------------------------
    Petco Unix
    ------------------------------