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.  dnf update is failing

    Posted Fri February 16, 2024 04:44 PM

    AIX 7200-05-06-2320

    dnf update is failing, showing lot many errors. The list is too long to post here.

    root@tcubad2151:/tmp
    # dnf update
    Last metadata expiration check: 0:15:53 ago on Fri Feb 16 13:57:07 CST 2024.
    Error:
     Problem 1: cannot install the best update candidate for package libgcc-8.3.0-1.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgcc-1:10-2.ppc
     Problem 2: cannot install the best update candidate for package libstdc++-8.3.0-1.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libstdc++-1:10-2.ppc
     Problem 3: package libdnf-0.39.1-32_52.ppc requires libstdc++ >= 10.3.0, but none of the providers can be installed
      - cannot install the best update candidate for package libdnf-0.39.1-32_3.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libstdc++-1:10-2.ppc
     Problem 4: package ncurses-6.4-1.ppc requires libstdc++ >= 10.3.0, but none of the providers can be installed
      - cannot install the best update candidate for package ncurses-6.1-2.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libstdc++-1:10-2.ppc
     Problem 5: package gettext-0.21-2.ppc requires libgomp.a(libgomp.so.1), but none of the providers can be installed
      - cannot install the best update candidate for package gettext-0.19.8.1-4.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp-8.3.0-1.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp-8.3.0-2.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp10-10.3.0-6.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp11-11.3.0-1.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp6-6.3.0-2.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp7-7.2.0-1.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp7-7.2.0-2.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp8-8.3.0-4.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp8-8.3.0-6.ppc
      - nothing provides AIX-rpm < 7.2.0.0 needed by libgomp8-8.3.0-7.ppc

    About 43 problems. 

    Do I've to keep installing the dependencies?
    I started with the first, but it failed with another dependency.

    root@tcubad2151:/mnt
    # rpm -Uvh libgcc10-10.3.0-6.aix7.2.ppc.rpm
    error: Failed dependencies:
            libgcc <= 9.1.0 conflicts with libgcc10-10.3.0-6.ppc

    Please assist. 
    Thanks.



    ------------------------------
    Shashank Poray
    ------------------------------

    #AIXOpenSource


  • 2.  RE: dnf update is failing
    Best Answer

    Posted Thu February 22, 2024 08:48 AM

    Hi Shashank,

    First try running the "udtvpkg" command

    and then check you DNF repository entries that it has AIX 7.2 specific repository not the AIX 7.3 entry.



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: dnf update is failing

    Posted Thu February 22, 2024 09:10 AM
    Edited by Shashank Poray Thu February 22, 2024 02:37 PM

    Thanks Sangamesh.

    After doing some research, I was able to fix the problem yesterday.

    Your steps point to the same resolution.

    The issue started after I migrated from AIX 7.1 to 7.2 and the dnf.conf (/opt/freeware/etc/dnf/dnf.conf) file was still pointing to AIX 7.1 repository.

    [AIX_Toolbox_71]
    name=AIX 7.1 specific repository
    baseurl=https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.1/
    enabled=1
    gpgcheck=0

    I updated this file and replaced the 7.1 entries to 7.2

    [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

    And after that, the dnf update command worked.

    Thanks again for your response. 



    ------------------------------
    Shashank Poray
    ------------------------------