AIX Open Source

 View Only
Expand all | Collapse all

dnf update issue

  • 1.  dnf update issue

    Posted Mon June 20, 2022 01:33 PM
    Hi,
    I am trying to update dnf and getting below error.

    hfadbpmd01:/mnt/depot/dnf-20220619 # dnf update
    AIX generic repository 5.7 MB/s | 19 MB 00:03
    AIX noarch repository 2.0 MB/s | 1.4 MB 00:00
    AIX 7.2 specific repository 1.8 MB/s | 1.2 MB 00:00
    Last metadata expiration check: 0:00:01 ago on Mon Jun 20 12:23:22 2022.
    Error:
    Problem: cannot install both readline-8.1-1.ppc and readline-6.2-3.ppc
    - package gnupg-1.4.18-1.ppc requires libreadline.a(libreadline.so.5), but none of the providers can be installed
    - cannot install the best update candidate for package readline-6.2-3.ppc
    - problem with installed package gnupg-1.4.18-1.ppc
    (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    hfadbpmd01:/mnt/depot/dnf-20220619 # rpm -qa
    apr-1.4.6-1.ppc
    bzip2-1.0.5-2.ppc
    curl-7.9.3-3ssl.ppc
    fontconfig-2.4.2-1.ppc
    gcc-4.2.0-3.ppc
    glib2-2.12.4-2.ppc
    gtk2-2.10.6-4.ppc
    readline-devel-6.2-3.ppc
    libiconv-1.14-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    AIX-rpm-7.2.5.101-19.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
    atk-1.12.3-2.ppc
    bash-doc-4.2-2.ppc
    cairo-1.8.8-1.ppc
    expat-2.0.1-1.ppc
    freetype2-2.3.9-1.ppc
    gettext-0.17-7.ppc
    gnupg-1.4.18-1.ppc
    info-4.13-3.ppc
    readline-6.2-3.ppc
    gettext-devel-0.17-1.ppc
    bash-5.0-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
    hfadbpmd01:/mnt/depot/dnf-20220619 # python3 -V
    Python 3.7.9
    hfadbpmd01:/mnt/depot/dnf-20220619 #

    Need your help.

    Thanks,
    HD AIX Team

    ------------------------------
    Harley AIX
    ------------------------------


  • 2.  RE: dnf update issue

    Posted Mon June 20, 2022 02:41 PM
    I had something similar and used the --allowerasing option and that pretty much fixed it.  I had a mix of RPMs from a bunch of sources, so they all needed to be reinstalled.  Even after this option I still found a couple of RPMs from other sources that I ended up having to reinstall (mpfr or iconv? I didn't jot it down).  Use at your own risk though, maybe create a backup first.  Another option may be to just reinstall each package being called out until it works.

    ------------------------------
    Adam Swartz
    ------------------------------



  • 3.  RE: dnf update issue

    Posted Mon June 27, 2022 01:26 PM
    Hi, 
    Getting below error when trying to do dnf update...

    #:/mnt/depot/dnf-20220619 # 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 /opt/freeware/lib/librepo.a(librepo.so.0).
    Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.2) could not be loaded.
    Member libcrypto.so.1.0.2 is not found in archive
    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    Dependent module /opt/freeware/lib/librepo.a(librepo.so.0) could not be loaded.


    :/root # rpm -qa |sort
    AIX-rpm-7.2.5.101-11.ppc
    apr-1.4.6-1.ppc
    atk-1.12.3-2.ppc
    bzip2-1.0.5-3.ppc
    ca-certificates-2020.06.01-0.ppc
    cairo-1.8.8-1.ppc
    curl-7.71.1-1.ppc
    dnf-4.2.17-32_2.noarch
    dnf-automatic-4.2.17-32_2.noarch
    dnf-data-4.2.17-32_2.noarch
    expat-2.0.1-1.ppc
    fontconfig-2.4.2-1.ppc
    freetype2-2.3.9-1.ppc
    gcc-4.2.0-3.ppc
    gdbm-1.10-1.ppc
    gettext-0.19.7-1.ppc
    git-2.20.4-1.ppc
    glib2-2.12.4-2.ppc
    gnupg-1.4.12-1.ppc
    gtk2-2.10.6-4.ppc
    info-4.13-3.ppc
    libassuan-2.5.1-1.ppc
    libcomps-0.1.11-32_1.ppc
    libdnf-0.39.1-32_2.ppc
    libgcc-7.2.0-6.ppc
    libgcrypt-1.5.4-1.ppc
    libgpg-error-1.27-1.ppc
    libgpg-error-devel-1.27-1.ppc
    libiconv-1.15-1.ppc
    libidn-1.33-1.ppc
    libjpeg-6b-6.ppc
    libksba-1.3.0-1.ppc
    libmodulemd-1.5.2-32_2.ppc
    libpng-1.2.32-2.ppc
    librepo-1.11.0-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    libsolv-0.7.9-32_1.ppc
    libssh2-1.4.2-2.ppc
    libssh2-devel-1.4.2-2.ppc
    libssh2-docs-1.4.2-2.ppc
    libtiff-3.8.2-1.ppc
    libzstd-1.4.4-32_1.ppc
    lpar2rrd-agent-5.05-2.ppc
    openldap-2.4.23-0.3.ppc
    openssl-1.0.0d-3.ppc
    openssl-devel-0.9.7d-2.ppc
    openssl-doc-0.9.7d-2.ppc
    p11-kit-0.23.16-0.ppc
    p11-kit-tools-0.23.16-0.ppc
    pango-1.14.5-4.ppc
    pixman-0.12.0-3.ppc
    pth-2.0.7-3.ppc
    python3-3.7.9-0.ppc
    python3-dnf-4.2.17-32_2.noarch
    python3-gpgme-1.13.1-32_1.ppc
    python3-hawkey-0.39.1-32_2.ppc
    python3-libcomps-0.1.11-32_1.ppc
    python3-libdnf-0.39.1-32_2.ppc
    python3-librepo-1.11.0-32_1.ppc
    readline-6.2-3.ppc
    readline-devel-6.2-3.ppc
    rpm-python3-4.15.1-32_1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    vim-common-6.3-1.ppc
    vim-enhanced-6.3-1.ppc
    vim-minimal-6.3-1.ppc
    vnc-3.3.3r2-6.ppc
    xcursor-1.1.7-3.ppc
    xft-2.1.6-5.ppc
    xrender-0.9.1-3.ppc
    zchunk-libs-1.1.4-32_1.ppc
    zlib-1.2.8-3.ppc
    zlib-devel-1.2.8-3.ppc
    hfatwastrn01:/root #

    Any idea to fix the issue?

    Thanks,
    H-D Team



    ------------------------------
    Harley AIX
    ------------------------------



  • 4.  RE: dnf update issue

    Posted Mon June 27, 2022 02:18 PM

    I think it is because you have openssl RPMs installed.  They conflict with the installp openssl packages.  I just uninstalled mine and this went away.  I found this article:

    https://unix.stackexchange.com/questions/689176/dnf-yum-repository-install-on-aix-7-1-importerror-0509-022-0509-150-libcrypto



    ------------------------------
    Adam Swartz
    ------------------------------



  • 5.  RE: dnf update issue

    Posted Mon June 27, 2022 04:02 PM
    Hi,
    Try to remove openssl..

    :/root # rpm -e openssl-1.0.0d-3.ppc
    error: Failed dependencies:
    openssl >= 0.9.8 is needed by (installed) libssh2-1.4.2-2.ppc
    openssl >= 0.9.8 is needed by (installed) openldap-2.4.23-0.3.ppc

    :/root # rpm -e --test openldap-2.4.23-0.3.src.rpm| grep needed | awk '{print $6}' | sort | uniq
    error: package openldap-2.4.23-0.3.src.rpm is not installed
    hfatwastrn01:/root # rpm -e --test openldap-2.4.23-0.3.ppc | grep needed | awk '{print $6}' | sort | uniq
    error: Failed dependencies:
    liblber.a(liblber-2.4.so.2) is needed by (installed) curl-7.71.1-1.ppc
    liblber.a(liblber-2.4.so.2) is needed by (installed) git-2.20.4-1.ppc
    libldap.a(libldap-2.4.so.2) is needed by (installed) gnupg-1.4.12-1.ppc
    libldap.a(libldap-2.4.so.2) is needed by (installed) curl-7.71.1-1.ppc
    libldap.a(libldap-2.4.so.2) is needed by (installed) git-2.20.4-1.ppc

    hfatwastrn01:/root # rpm -e --test libssh2-1.4.2-2.ppc | grep needed | awk '{print $6}' | sort | uniq
    error: Failed dependencies:
    libssh2.a(libssh2.so.1) is needed by (installed) libssh2-docs-1.4.2-2.ppc
    libssh2.a(libssh2.so.1) is needed by (installed) curl-7.71.1-1.ppc
    libssh2.a(libssh2.so.1) is needed by (installed) git-2.20.4-1.ppc
    libssh2 = 1.4.2-2 is needed by (installed) libssh2-devel-1.4.2-2.ppc
    libssh2 = 1.4.2-2 is needed by (installed) libssh2-docs-1.4.2-2.ppc

    :/root # rpm -e openldap-2.4.23-0.3.ppc
    error: Failed dependencies:
    liblber.a(liblber-2.4.so.2) is needed by (installed) curl-7.71.1-1.ppc
    liblber.a(liblber-2.4.so.2) is needed by (installed) git-2.20.4-1.ppc
    libldap.a(libldap-2.4.so.2) is needed by (installed) gnupg-1.4.12-1.ppc
    libldap.a(libldap-2.4.so.2) is needed by (installed) curl-7.71.1-1.ppc
    libldap.a(libldap-2.4.so.2) is needed by (installed) git-2.20.4-1.ppc

    Not sure what to do. Any idea how to proceed.

    Thanks,
    H-D Team

    ------------------------------
    Harley AIX
    ------------------------------



  • 6.  RE: dnf update issue

    Posted Mon June 27, 2022 04:12 PM
    I just erased all those packages listed as dependents as they are not compatible with AIX Toolbox.  You can then reinstall anything through dnf, like git or curl.  Just to get dnf running you could use the --nodeps option for the uninstall of openssl.   You will then find things like git are probably broken since they are not from AIX Toolbox.  Then you can just do a dnf reinstall on git and curl.

    Here is the big list of what I ended up erasing:


    need to migrate away from non AIX Toolbox RPMs and use either LPP from AIX or RPM from Toolbox:
    # rpm --erase curl-7.19.5-1.ppc
    # rpm --erase python-2.3.4-2.ppc python-devel-2.3.4-2.ppc python-tools-2.3.4-2.ppc subversion-1.6.4-1.ppc glib2-devel-2.56.1-3.ppc GConf2-devel-2.4.0.1-1.ppc ORBit2-devel-2.8.1-1.ppc atk-devel-1.4.0-1.ppc gtk2-devel-2.2.4-4.ppc libIDL-devel-0.8.2-1.ppc libbonobo-devel-2.4.0-1.ppc libgnomeprint-devel-2.3.1-1.ppc libgtop2-devel-2.0.5-1.ppc pango-devel-1.2.5-1.ppc gnome-vfs2-devel-2.4.0-1.ppc gail-devel-1.4.0-1.ppc libglade2-devel-2.0.1-2.ppc libgnomecanvas-devel-2.4.0-1.ppc libgnomeprintui-devel-2.3.1-1.ppc librsvg2-devel-2.4.0-1.ppc gnome-vfs2-devel-2.4.0-1.ppc libgnomeprintui-devel-2.3.1-1.ppc
    # rpm --erase openssl-0.9.8k-1.ppc openldap-2.0.21-5ssl.ppc libssh2-1.2-1.ppc neon-0.28.4-1.ppc openssl-devel-0.9.7g-1.ppc openssl-doc-0.9.7g-1.ppc openldap-devel-2.0.21-5ssl.ppc

    and to get curl working:
    # rpm --erase db-3.3.11-4.ppc gnome-libs-1.4.1.2-1.ppc gnome-libs-devel-1.4.1.2-1.ppc

    now I can install subversion and curl
    $ dnf install subversion
    $ dnf install curl

    ------------------------------
    Adam Swartz
    ------------------------------



  • 7.  RE: dnf update issue

    Posted Mon June 27, 2022 04:49 PM
    By the way, if you are going the extra mile to get the latest gcc compiler running...  I also had to erase my perzl versions of libmpc and mpfr.

    dnf upgrade libmpc
    dnf reinstall mpfr

    ------------------------------
    Adam Swartz
    ------------------------------



  • 8.  RE: dnf update issue

    Posted Mon June 27, 2022 06:14 PM
    Hi, 
    Thanks for your reply.
    I have below version installed..
    :/root # rpm -qa libmpc
    libmpc-1.2.1-1.ppc
    :/root # rpm -qa mpfr
    mpfr-4.1.0-1.ppc

    Do I need to upgrade those with dnf?

    Thanks,
    H-D Team

    ------------------------------
    Harley AIX
    ------------------------------



  • 9.  RE: dnf update issue

    Posted Mon June 27, 2022 06:23 PM
    If you see it is not from AIX Toolbox, then yes.  I saw this:

    $ rpm -qi libmpc-1.2.0-1.ppc
    Name : libmpc
    Version : 1.2.0
    Release : 1
    Architecture: ppc
    Install Date: Wed May 25 14:28:02 MDT 2022
    Group : Development/Tools
    Size : 1444657
    License : LGPLv2+
    Signature : (none)
    Source RPM : libmpc-1.2.0-1.src.rpm
    Build Date : Tue Aug 25 06:02:32 MDT 2020
    Build Host : aix51.perzl.org
    URL : http://www.multiprecision.org/
    Summary : C library for multiple precision complex arithmetic
    Description :
    MPC is a C library for the arithmetic of complex numbers with
    arbitrarily high precision and correct rounding of the result. It is
    built upon and follows the same principles as Mpfr.

    The library is available as 32-bit and 64-bit.
    $ rpm -q --whatprovides /opt/freeware/lib/libmpfr.a
    mpfr-4.1.0-1.ppc
    ipwdev@ipw6c4b:/home/ipwdev/build.test
    $ rpm -qi mpfr-4.1.0-1.ppc
    Name : mpfr
    Version : 4.1.0
    Release : 1
    Architecture: ppc
    Install Date: Wed May 25 13:04:03 MDT 2022
    Group : System Environment/Libraries
    Size : 3698117
    License : LGPLv2+ and GPLv2+ and GFDL
    Signature : (none)
    Source RPM : mpfr-4.1.0-1.src.rpm
    Build Date : Mon Jul 13 10:51:04 MDT 2020
    Build Host : aix51.perzl.org
    URL : http://www.mpfr.org/
    Summary : A C library for multiple-precision floating-point computations
    Description :
    The MPFR library is a C library for multiple-precision floating-point
    computations with "correct rounding". The MPFR is efficient and
    also has a well-defined semantics. It copies the good ideas from the
    ANSI/IEEE-754 standard for double-precision floating-point arithmetic
    (53-bit mantissa). MPFR is based on the GMP multiple-precision library.

    The library is available as 32-bit and 64-bit.

    After the update I see this:

    $ rpm -qi libmpc-1.2.1-1.ppc
    Name : libmpc
    Version : 1.2.1
    Release : 1
    Architecture: ppc
    Install Date: Thu Jun 16 11:53:54 MDT 2022
    Group : Development/Tools
    Size : 767991
    License : LGPLv2+
    Signature : (none)
    Source RPM : libmpc-1.2.1-1.src.rpm
    Build Date : Tue Nov 23 10:46:10 MST 2021
    Build Host : pokndd5.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.multiprecision.org/
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : C library for multiple precision complex arithmetic
    Description :
    MPC is a C library for the arithmetic of complex numbers with
    arbitrarily high precision and correct rounding of the result. It is
    built upon and follows the same principles as Mpfr.

    The library is available as 32-bit and 64-bit.

    $ rpm -qi mpfr-4.1.0-1.ppc
    Name : mpfr
    Version : 4.1.0
    Release : 1
    Architecture: ppc
    Install Date: Fri Jun 17 10:31:52 MDT 2022
    Group : System Environment/Libraries
    Size : 9498764
    License : LGPLv2+ and GPLv2+ and GFDL
    Signature : (none)
    Source RPM : mpfr-4.1.0-1.src.rpm
    Build Date : Tue Nov 23 10:31:54 MST 2021
    Build Host : pokndd5.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.mpfr.org/
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : A C library for multiple-precision floating-point computations
    Description :
    The MPFR library is a C library for multiple-precision floating-point
    computations with "correct rounding". The MPFR is efficient and
    also has a well-defined semantics. It copies the good ideas from the
    ANSI/IEEE-754 standard for double-precision floating-point arithmetic
    (53-bit mantissa). MPFR is based on the GMP multiple-precision library.

    The library is available as 32-bit and 64-bit.


    ------------------------------
    Adam Swartz
    ------------------------------



  • 10.  RE: dnf update issue

    Posted Mon June 27, 2022 11:30 PM
    Yes, looks like after dnf update completed, it is showing like below..

    :/root # rpm -qi libmpc-1.2.1-1.ppc
    Name : libmpc
    Version : 1.2.1
    Release : 1
    Architecture: ppc
    Install Date: Mon Jun 27 15:05:33 2022
    Group : Development/Tools
    Size : 767991
    License : LGPLv2+
    Signature : (none)
    Source RPM : libmpc-1.2.1-1.src.rpm
    Build Date : Tue Nov 23 09:46:10 2021
    Build Host : pokndd5.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.multiprecision.org/
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : C library for multiple precision complex arithmetic
    Description :
    MPC is a C library for the arithmetic of complex numbers with
    arbitrarily high precision and correct rounding of the result. It is
    built upon and follows the same principles as Mpfr.

    The library is available as 32-bit and 64-bit.

    :/root #
    :/root #
    :/root # rpm -qi mpfr-4.1.0-1.ppc
    Name : mpfr
    Version : 4.1.0
    Release : 1
    Architecture: ppc
    Install Date: Mon Jun 27 15:05:32 2022
    Group : System Environment/Libraries
    Size : 9498764
    License : LGPLv2+ and GPLv2+ and GFDL
    Signature : (none)
    Source RPM : mpfr-4.1.0-1.src.rpm
    Build Date : Tue Nov 23 09:31:54 2021
    Build Host : pokndd5.pok.stglabs.ibm.com
    Packager : IBM AIX Toolbox <https://ibm.biz/AIXToolbox>
    URL : http://www.mpfr.org/
    Bug URL : https://ibm.biz/aixoss_forum
    Summary : A C library for multiple-precision floating-point computations
    Description :
    The MPFR library is a C library for multiple-precision floating-point
    computations with "correct rounding". The MPFR is efficient and
    also has a well-defined semantics. It copies the good ideas from the
    ANSI/IEEE-754 standard for double-precision floating-point arithmetic
    (53-bit mantissa). MPFR is based on the GMP multiple-precision library.

    The library is available as 32-bit and 64-bit.


    Thanks for your help.
    H-D Team.

    ------------------------------
    Harley AIX
    ------------------------------



  • 11.  RE: dnf update issue

    Posted Wed June 29, 2022 01:32 PM
    Hi,
    I was trying to do similar dnf installation in another server, but getting below error..

    error: Failed dependencies:
    libcrypto.a(libcrypto.so.1.0.2) is needed by libdnf-0.39.1-32_2.ppc
    libcrypto.a(libcrypto.so.1.0.2) is needed by librepo-1.11.0-32_1.ppc
    libssl.a(libssl.so.1.0.2) is needed by librepo-1.11.0-32_1.ppc
    python3-gpgme >= 1.13.1 is needed by python3-dnf-4.2.17-32_2.noarch
    gpgme = 1.13.1-100 is needed by python3-gpg-1.13.1-100.ppc
    libgpgme.a(libgpgme.so.11) is needed by python3-gpg-1.13.1-100.ppc
    python3 >= 3.7.12 is needed by python3-gpg-1.13.1-100.ppc
    libcrypto.a(libcrypto.so.1.0.2) is needed by zchunk-libs-1.1.4-32_1.ppc


    # rpm -qa |sort
    AIX-rpm-7.1.5.33-14.ppc
    atk-2.20.0-3.ppc
    bash-5.1.4-2.ppc
    ca-certificates-2016.10.7-2.ppc
    cairo-1.8.8-1.ppc
    curl-7.52.1-1.ppc
    db-4.8.24-3.ppc
    expat-2.0.1-1.ppc
    fontconfig-2.4.2-1.ppc
    freetype2-2.3.9-1.ppc
    gdbm-1.8.3-5.ppc
    gettext-0.20.2-1.ppc
    glib2-2.56.1-3.ppc
    gtk2-2.10.6-4.ppc
    jbigkit-libs-2.1-1.ppc
    libffi-3.2.1-3.ppc
    libgcc-8.3.0-1.ppc
    libgcc8-8.3.0-4.ppc
    libgomp-8-1.ppc
    libgomp8-8.3.0-4.ppc
    libiconv-1.16-1.ppc
    libjpeg-9c-1.ppc
    libpng-1.6.27-3.ppc
    libstdc++-8-1.ppc
    libstdc++8-8.3.0-4.ppc
    libtextstyle-0.20.2-1.ppc
    libtiff-4.1.0-1.ppc
    libunistring-0.9.10-1.ppc
    libwebp-1.0.2-1.ppc
    libxml2-2.9.10-1.ppc
    lpar2rrd-agent-5.05-2.ppc
    ncurses-6.2-2.ppc
    pango-1.14.5-4.ppc
    pixman-0.12.0-3.ppc
    pysqlite-1.1.7-2.ppc
    python-devel-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-tools-2.7.10-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    readline-6.1-2.ppc
    shared-mime-info-1.6-2.ppc
    sqlite-3.15.2-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    unzip-5.51-1.ppc
    vim-common-8.1.2424-1.ppc
    vnc-3.3.3r2-6.ppc
    xcursor-1.1.7-3.ppc
    xft-2.1.6-5.ppc
    xrender-0.9.1-3.ppc
    xz-libs-5.2.5-1.ppc
    yum-3.4.3-7.noarch
    yum-metadata-parser-1.1.4-2.ppc
    zip-2.3-3.ppc
    zlib-1.2.11-2.ppc


    Please help me to fix it.

    Thanks,
    H-D Team



    ------------------------------
    Harley AIX
    ------------------------------



  • 12.  RE: dnf update issue

    Posted Wed June 29, 2022 06:16 PM
    Hi, 
    After remove some rpm, still I am getting below failed error for dnf installation..

    Installing the packages...

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

    dnf installation failed.




    # rpm -qa |sort
    AIX-rpm-7.1.5.33-14.ppc
    atk-2.20.0-3.ppc
    bash-5.1.4-2.ppc
    ca-certificates-2016.10.7-2.ppc
    cairo-1.8.8-1.ppc
    curl-7.52.1-1.ppc
    db-4.8.24-3.ppc
    expat-2.0.1-1.ppc
    fontconfig-2.4.2-1.ppc
    freetype2-2.3.9-1.ppc
    gdbm-1.8.3-5.ppc
    gettext-0.20.2-1.ppc
    glib2-2.56.1-3.ppc
    gtk2-2.10.6-4.ppc
    jbigkit-libs-2.1-1.ppc
    libffi-3.2.1-3.ppc
    libgcc-8.3.0-1.ppc
    libgcc8-8.3.0-4.ppc
    libgomp-8-1.ppc
    libgomp8-8.3.0-4.ppc
    libiconv-1.16-1.ppc
    libjpeg-9c-1.ppc
    libpng-1.6.27-3.ppc
    libstdc++-8-1.ppc
    libstdc++8-8.3.0-4.ppc
    libtextstyle-0.20.2-1.ppc
    libtiff-4.1.0-1.ppc
    libunistring-0.9.10-1.ppc
    libwebp-1.0.2-1.ppc
    libxml2-2.9.10-1.ppc
    lpar2rrd-agent-5.05-2.ppc
    ncurses-6.2-2.ppc
    pango-1.14.5-4.ppc
    pixman-0.12.0-3.ppc
    pysqlite-1.1.7-2.ppc
    python-devel-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-tools-2.7.10-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    readline-6.1-2.ppc
    shared-mime-info-1.6-2.ppc
    sqlite-3.15.2-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    unzip-5.51-1.ppc
    vim-common-8.1.2424-1.ppc
    vnc-3.3.3r2-6.ppc
    xcursor-1.1.7-3.ppc
    xft-2.1.6-5.ppc
    xrender-0.9.1-3.ppc
    xz-libs-5.2.5-1.ppc
    yum-metadata-parser-1.1.4-2.ppc
    zip-2.3-3.ppc
    zlib-1.2.11-2.ppc


    Need help.
    Thanks,
    H-D Team



    ------------------------------
    Harley AIX
    ------------------------------



  • 13.  RE: dnf update issue

    Posted Fri July 01, 2022 06:22 AM
    Hi, 
    Any update, on this. How to fix above error while installing dnf?
    Thanks,
    H-D Team

    ------------------------------
    shashirekha votlam
    ------------------------------



  • 14.  RE: dnf update issue

    Posted Fri July 01, 2022 06:22 AM
    Hi 
    Any idea to fix the above error when doing dnf install?

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

    ca-certificates-2016.10.7-2.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
    zchunk-libs-1.1.4-32_1 will be installed

    Installing the packages...

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

    dnf installation failed.


    # rpm -qa |sort
    AIX-rpm-7.1.5.33-14.ppc
    atk-2.20.0-3.ppc
    bash-5.1.4-2.ppc
    ca-certificates-2016.10.7-2.ppc
    cairo-1.8.8-1.ppc
    curl-7.52.1-1.ppc
    db-4.8.24-3.ppc
    expat-2.0.1-1.ppc
    fontconfig-2.4.2-1.ppc
    freetype2-2.3.9-1.ppc
    gdbm-1.8.3-5.ppc
    gettext-0.20.2-1.ppc
    glib2-2.56.1-3.ppc
    gtk2-2.10.6-4.ppc
    jbigkit-libs-2.1-1.ppc
    libffi-3.2.1-3.ppc
    libgcc-8.3.0-1.ppc
    libgcc8-8.3.0-4.ppc
    libgomp-8-1.ppc
    libgomp8-8.3.0-4.ppc
    libiconv-1.16-1.ppc
    libjpeg-9c-1.ppc
    libpng-1.6.27-3.ppc
    libstdc++-8-1.ppc
    libstdc++8-8.3.0-4.ppc
    libtextstyle-0.20.2-1.ppc
    libtiff-4.1.0-1.ppc
    libunistring-0.9.10-1.ppc
    libwebp-1.0.2-1.ppc
    libxml2-2.9.10-1.ppc
    lpar2rrd-agent-5.05-2.ppc
    ncurses-6.2-2.ppc
    pango-1.14.5-4.ppc
    pixman-0.12.0-3.ppc
    pysqlite-1.1.7-2.ppc
    python-devel-2.7.10-1.ppc
    python-iniparse-0.4-1.noarch
    python-pycurl-7.19.3-1.ppc
    python-tools-2.7.10-1.ppc
    python-urlgrabber-3.10.1-1.noarch
    readline-6.1-2.ppc
    shared-mime-info-1.6-2.ppc
    sqlite-3.15.2-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    unzip-5.51-1.ppc
    vim-common-8.1.2424-1.ppc
    vnc-3.3.3r2-6.ppc
    xcursor-1.1.7-3.ppc
    xft-2.1.6-5.ppc
    xrender-0.9.1-3.ppc
    xz-libs-5.2.5-1.ppc
    yum-metadata-parser-1.1.4-2.ppc
    zip-2.3-3.ppc
    zlib-1.2.11-2.ppc

    Thanks,
    H-D Team.



    ------------------------------
    shashirekha votlam
    ------------------------------



  • 15.  RE: dnf update issue

    Posted Fri July 01, 2022 06:22 AM
    Hi, 
    The above errors go away, after I ran /usr/sbin/updtvpkg, 

    But now getting below error again, when doing dnf update..

    # dnf update
    Traceback (most recent call last):
    File "/usr/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: Symbol resolution failed for /opt/freeware/libdnfdeps/libstdc++.a(libstdc++.so.6) because:
    Symbol __cxa_finalize (number 1) is not exported from dependent
    module /opt/freeware/lib/libgcc_s.a(shr.o).
    Symbol _GLOBAL__AIXI_shr_o (number 4) is not exported from dependent
    module /opt/freeware/lib/libgcc_s.a(shr.o).
    Symbol _GLOBAL__AIXD_shr_o (number 5) is not exported from dependent
    module /opt/freeware/lib/libgcc_s.a(shr.o).
    Symbol __cxa_atexit (number 19) is not exported from dependent
    module /opt/freeware/lib/libgcc_s.a(shr.o).
    Could not load module /opt/freeware/lib/python3.7/site-packages/libdnf/_common_types.so.
    System error: Exec format error
    Examine .loader section symbols with the 'dump -Tv' command.


    # rpm -qa |sort
    AIX-rpm-7.2.5.101-13.ppc
    bash-5.0-1.ppc
    bash-doc-4.2-2.ppc
    bzip2-1.0.6-1.ppc
    ca-certificates-2020.06.01-0.ppc
    coreutils-8.25-1.ppc
    cpio-2.5-1.ppc
    curl-7.71.1-1.ppc
    cvs-1.11.17-3.ppc
    db-4.8.24-3.ppc
    dnf-4.2.17-32_2.noarch
    dnf-automatic-4.2.17-32_2.noarch
    dnf-data-4.2.17-32_2.noarch
    expat-2.0.1-3.ppc
    gdbm-1.8.3-5.ppc
    gettext-0.17-1.ppc
    git-2.20.4-1.ppc
    glib2-2.30.3-1.ppc
    gmp-5.1.3-2.ppc
    gmp-devel-5.1.3-2.ppc
    gnupg-1.4.12-1.ppc
    gnutls-2.6.6-2.ppc
    grep-2.22-1.ppc
    gzip-1.2.4a-10.ppc
    info-4.13a-2.ppc
    less-481-1.ppc
    lftp-4.2.3-1.ppc
    libcomps-0.1.11-32_1.ppc
    libdnf-0.39.1-32_2.ppc
    libffi-3.0.10-1.ppc
    libgcc-4.6.3-2.ppc
    libgcrypt-1.5.4-1.ppc
    libgpg-error-1.15-1.ppc
    libiconv-1.14-2.ppc
    libmodulemd-1.5.2-32_2.ppc
    librepo-1.11.0-32_1.ppc
    libsmartcols-2.34-32_1.ppc
    libsolv-0.7.9-32_1.ppc
    libssh2-1.4.2-1.ppc
    libstdc++-4.8.5-1.ppc
    libstdc++-devel-4.8.5-1.ppc
    libtasn1-3.3-1.ppc
    libzstd-1.4.4-32_1.ppc
    lpar2rrd-agent-5.05-2.ppc
    lzo-2.06-2.ppc
    p11-kit-0.23.16-0.ppc
    p11-kit-tools-0.23.16-0.ppc
    pcre-8.33-1.ppc
    pkg-config-0.28-1.ppc
    python3-3.7.9-0.ppc
    python3-dnf-4.2.17-32_2.noarch
    python3-gpgme-1.13.1-32_1.ppc
    python3-hawkey-0.39.1-32_2.ppc
    python3-libcomps-0.1.11-32_1.ppc
    python3-libdnf-0.39.1-32_2.ppc
    python3-librepo-1.11.0-32_1.ppc
    rdist-6.1.5-2.ppc
    readline-6.2-3.ppc
    readline-devel-6.2-3.ppc
    rpm-python3-4.15.1-32_1.ppc
    screen-3.9.10-2.ppc
    sed-4.1.1-1.ppc
    sqlite-3.15.2-1.ppc
    swiagent-2020.2.6.20131-b5170e0.ppc
    tar-1.14-2.ppc
    tcsh-6.11-3.ppc
    unzip-6.0-3.ppc
    vim-common-6.3-1.ppc
    vim-enhanced-6.3-1.ppc
    vim-minimal-6.3-1.ppc
    vnc-3.3.3r2-6.ppc
    zchunk-libs-1.1.4-32_1.ppc
    zip-2.3-3.ppc
    zlib-1.2.7-1.ppc

    Could you please help me to fix the issue.

    Thanks,
    H-D Team


    ------------------------------
    shashirekha votlam
    ------------------------------