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
Expand all | Collapse all

Too many dependencies for sudo installation on AIX 7.2

  • 1.  Too many dependencies for sudo installation on AIX 7.2

    Posted Wed July 02, 2025 04:10 PM
    I am trying to install sudo on AIX 7.2, getting below error asking for other rpm to be installed first ..
     
    # rpm -ivh sudo-1.9.16p2-1.aix7.1.ppc.rpm
    warning: sudo-1.9.16p2-1.aix7.1.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    error: Failed dependencies:
            gettext >= 0.21 is needed by sudo-1.9.16p2-1.ppc
            liblber.a(liblber-2.5.so.0) is needed by sudo-1.9.16p2-1.ppc
            libldap.a(libldap-2.5.so.0) is needed by sudo-1.9.16p2-1.ppc
            openldap >= 2.5.16 is needed by sudo-1.9.16p2-1.ppc
            zlib >= 1.2.13 is needed by sudo-1.9.16p2-1.ppc
     
    Tried to fix these dependencies, but no use - each package asks for more things to be fixed first ..
     
    # rpm -ivh gettext-0.21-2.aix7.1.ppc.rpm
    error: Failed dependencies:
            libgomp >= 8.3.0 is needed by gettext-0.21-2.ppc
            libgomp.a(libgomp.so.1) is needed by gettext-0.21-2.ppc
            libiconv >= 1.16 is needed by gettext-0.21-2.ppc
            libtextstyle = 0.21-2 is needed by gettext-0.21-2.ppc
            libtextstyle.a(libtextstyle.so.0) is needed by gettext-0.21-2.ppc
     
     
    Seems like a never ending process, Is there a complete package available for sudo ?
     
    Thanks
    Ajay Kumar


    ------------------------------
    AJAY KUMAR
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Too many dependencies for sudo installation on AIX 7.2

    Posted Thu July 03, 2025 01:31 AM

    Hi Ajay,

    Use dnf to install packages as dnf is intelligent to figure out all dependencies and will install. 


    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------