AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

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

    Posted 7 days ago

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


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

    Posted 4 days ago

    Hi Ajay,

    If your machine serial number is entitled to it and you have access to IBM Entitled Systems Support, you can download the AIX Toolbox for Linux media so you get all the filesets you need, including prerequisites, for your machine.  Check https://www.ibm.com/servers/eserver/ess/landing/landing-page and see if your machine's serial number has entitlements to the Toolbox.  That way, you don't have to go hunting around for each and every file set required by sudo.

    You can also submit your question to the AIX Open Source topic group, as this is the AIX topic group where you are asking this question.  Hope this helps!



    ------------------------------
    Carlo Castillo
    Client Services Manager
    IBM Redbooks Gold Author
    ------------------------------



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

    Posted 3 days ago

    Hi Ajay

    Try installing DNF and then use DNF to install sudo: DNF is now available on AIX Toolbox

    It should take care of nested dependencies.

    Regards



    ------------------------------
    Chris Wickremasinghe
    IBM
    ------------------------------



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

    Posted yesterday

    Thanks Carlo Castillo and CHRISTOPHER WICKREMASINGHE for your help, issue fixed - downloaded AIX Toolbox for Linux media from IBM Entitled Systems Support and created local DNF repository then installed sudo .. 



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