Open Source Development

Power Open Source Development

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


#Power


#Power

 View Only
  • 1.  clean dnf update failed

    Posted Fri November 11, 2022 01:39 PM
    Hi,
    I this newly build server, I tried to install dnf with script and getting below error..



    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.

    Skipping ca-certificates-2020.06.01-0 as higher version ca-certificates-2021.2.52-3.ppc is installed.
    dnf-4.2.17-32_2 will be installed
    dnf-automatic-4.2.17-32_2 will be installed
    Skipping dnf-data-4.2.17-32_2 as higher version dnf-data-4.2.17-32_50.ppc is installed.
    Skipping libcomps-0.1.11-32_1 as higher version libcomps-0.1.11-100.ppc is installed.
    Skipping libdnf-0.39.1-32_2 as higher version libdnf-0.39.1-32_50.ppc is installed.
    Skipping libmodulemd-1.5.2-32_2 as higher version libmodulemd-1.5.2-100.ppc is installed.
    Skipping librepo-1.11.0-32_1 as higher version librepo-1.11.0-100.ppc is installed.
    Skipping libsmartcols-2.34-32_1 as higher version libsmartcols-2.34-100.ppc is installed.
    Skipping libsolv-0.7.9-32_1 as higher version libsolv-0.7.9-32_51.ppc is installed.
    Skipping libzstd-1.4.4-32_1 as higher version libzstd-1.5.2-1.ppc is installed.
    Skipping p11-kit-0.23.16-0 as higher version p11-kit-0.23.22-1.ppc is installed.
    Skipping p11-kit-tools-0.23.16-0 as higher version p11-kit-tools-0.23.22-1.ppc is installed.
    Skipping python3-3.7.9-0 as higher version python3-3.7.12-1.ppc is installed.
    Skipping python3-dnf-4.2.17-32_2 as higher version python3-dnf-4.2.17-32_50.ppc is installed.
    python3-gpgme-1.13.1-32_1 will be installed
    Skipping python3-hawkey-0.39.1-32_2 as higher version python3-hawkey-0.39.1-32_50.ppc is installed.
    Skipping python3-libcomps-0.1.11-32_1 as higher version python3-libcomps-0.1.11-100.ppc is installed.
    Skipping python3-libdnf-0.39.1-32_2 as higher version python3-libdnf-0.39.1-32_50.ppc is installed.
    python3-librepo-1.11.0-32_1 will be installed
    rpm-python3-4.15.1-32_1 is already installed
    Skipping zchunk-libs-1.1.4-32_1 as higher version zchunk-libs-1.1.4-101.ppc is installed.

    Installing the packages...

    error: Failed dependencies:
    python3-dnf = 4.2.17-32_2 is needed by dnf-4.2.17-32_2.noarch
    python3-gpgme is obsoleted by (installed) python3-gpg-1.13.1-100.ppc
    librepo = 1.11.0-32_1 is needed by python3-librepo-1.11.0-32_1.ppc

    dnf installation failed.

    It was working earlier, I wiped/destroy all rpm this server had with distory_all_rpms.ksh script and then trying to install from scratch.

    # rpm -qa |sort
    AIX-rpm-7.2.5.103-2.ppc
    atk-2.20.0-3.ppc
    bash-4.4-3.ppc
    bzip2-1.0.8-2.ppc
    ca-certificates-2021.2.52-3.ppc
    cairo-1.14.6-2waixX11.ppc
    check-0.13.0-1.ppc
    curl-7.83.1-1.ppc
    cyrus-sasl-2.1.28-1.ppc
    db-5.3.28-1.ppc
    dnf-data-4.2.17-32_50.ppc
    expat-2.2.4-1.ppc
    fontconfig-2.11.95-3.ppc
    freetype2-2.8-1.ppc
    gdbm-1.23-1.ppc
    gdk-pixbuf-2.35.1-2waixX11.ppc
    gettext-0.19.8.1-3.ppc
    glib2-2.56.1-2.ppc
    gmp-6.1.2-1.ppc
    gnupg2-2.2.35-1.ppc
    gnutls-3.7.2-1.ppc
    gpgme-1.13.1-100.ppc
    gtk2-2.24.30-2waixX11.ppc
    harfbuzz-1.2.7-2.ppc
    info-6.7-1.ppc
    json-c-0.15-2.ppc
    krb5-libs-1.18.5-2.ppc
    libXft-2.3.2-4waixX11.ppc
    libXrender-0.9.8-2waixX11.ppc
    libassuan-2.5.5-1.ppc
    libcomps-0.1.11-100.ppc
    libdnf-0.39.1-32_50.ppc
    libffi-3.2.1-2.ppc
    libgcc-6.3.0-1.ppc
    libgcc8-8.3.0-6.ppc
    libgcrypt-1.9.4-1.ppc
    libgomp8-8.3.0-6.ppc
    libgpg-error-1.45-1.ppc
    libiconv-1.17-1.ppc
    libjpeg-6b-7.ppc
    libksba-1.6.0-1.ppc
    libmodulemd-1.5.2-100.ppc
    libmpc-1.0.3-1.ppc
    libnghttp2-1.46.0-1.ppc
    libpng-1.6.27-2.ppc
    librepo-1.11.0-100.ppc
    libsmartcols-2.34-100.ppc
    libsolv-0.7.9-32_51.ppc
    libssh2-1.10.0-1.ppc
    libstdc++-6.3.0-1.ppc
    libtasn1-4.16.0-1.ppc
    libtiff-3.8.2-1.ppc
    libxml2-2.9.7-1.ppc
    libyaml-0.2.5-1.ppc
    libzstd-1.5.2-1.ppc
    lzo-2.10-2.ppc
    mpfr-3.1.2-3.ppc
    ncurses-6.1-2.ppc
    nettle-3.7.3-1.ppc
    npth-1.5-1.ppc
    openldap-2.4.58-4.ppc
    p11-kit-0.23.22-1.ppc
    p11-kit-tools-0.23.22-1.ppc
    pango-1.40.1-2waixX11.ppc
    pixman-0.34.0-1.ppc
    pkg-config-0.29.2-2.ppc
    python3-3.7.12-1.ppc
    python3-dnf-4.2.17-32_50.ppc
    python3-gpg-1.13.1-100.ppc
    python3-hawkey-0.39.1-32_50.ppc
    python3-libcomps-0.1.11-100.ppc
    python3-libdnf-0.39.1-32_50.ppc
    readline-8.1-1.ppc
    rpm-python3-4.15.1-32_1.ppc
    shared-mime-info-1.6-2.ppc
    sqlite-3.37.2-1.ppc
    xcb-proto-1.14-1.ppc
    xz-libs-5.2.4-1.ppc
    zchunk-libs-1.1.4-101.ppc
    zlib-1.2.11-1.ppc

    Let me know what to do.

    Thanks,

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

    #AIXOpenSource


  • 2.  RE: clean dnf update failed

    Posted Tue November 15, 2022 04:54 PM
    What script did you use?
    Since rpm -qa returns a list of packages, it seems you did not successfully run the destroyRPMs script.

    https://community.ibm.com/community/user/power/blogs/jan-harris1/2022/05/25/destroyrpms?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9

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



  • 3.  RE: clean dnf update failed

    Posted Thu December 01, 2022 08:07 AM
    Edited by Anonymous User Thu December 01, 2022 08:16 AM
    Thank you for response. I was also facing the same issue, now got my solution by reading blog of Harris. 

    ------------------------------
    Candice Elmore
    ------------------------------