AIX Open Source

 View Only
  • 1.  Need help to upgrade my sudo to sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm

    Posted Mon March 01, 2021 01:13 AM
    My old server is running at sudo-1.8.15-1noldap.ppc. Now it is vulnerable, I am asked to upgrade sudo_to noldap-1.9.5p2-1.aix6.1.ppc.rpm. I downloaded the rpm. But got dependency errors:

       # rpm -Uvh sudo_no*
       error: Failed dependencies:
       gettext >= 0.19.8.1 is needed by sudo_noldap-1.9.5p2-1.ppc
       zlib >= 1.2.11-1 is needed by sudo_noldap-1.9.5p2-1.ppc
       sudo conflicts with sudo_noldap-1.9.5p2-1.ppc

    I tried installed gettext and zlib. I could get zlib installed. But gettext got error again. Search this website, there is a suggestion to install "libstdc++8-8.3.0-4.ppc" which I did. But I still can't get gettext installed. Can someone help ?

       # rpm -qa
       screen-3.9.10-2.ppc
       sudo-1.8.15-1noldap.ppc
       AIX-rpm-7.1.5.0-5.ppc
       libstdc++8-8.3.0-4.ppc
       unzip-5.51-1.ppc
       libgcc8-8.3.0-4.ppc

       # rpm -ivh gettext*
       error: Failed dependencies:
       glib2 >= 2.56.1 is needed by gettext-0.20.2-1.ppc
       libgcc >= 8.3.0 is needed by gettext-0.20.2-1.ppc
       libglib-2.0.a(libglib-2.0.so.0) is needed by gettext-0.20.2-1.ppc
       libgomp >= 8.3.0 is needed by gettext-0.20.2-1.ppc
       libgomp.a(libgomp.so.1) is needed by gettext-0.20.2-1.ppc
       libiconv >= 1.16 is needed by gettext-0.20.2-1.ppc
       libiconv.a(libiconv.so.2) is needed by gettext-0.20.2-1.ppc
       libncurses.a(libncurses.so.6) is needed by gettext-0.20.2-1.ppc
       libstdc++ >= 8.3.0 is needed by gettext-0.20.2-1.ppc
       libtextstyle = 0.20.2-1 is needed by gettext-0.20.2-1.ppc
       libtextstyle.a(libtextstyle.so.0) is needed by gettext-0.20.2-1.ppc
       libunistring >= 0.9.9-2 is needed by gettext-0.20.2-1.ppc
       libunistring.a(libunistring.so.2) is needed by gettext-0.20.2-1.ppc
       libxml2 >= 2.9.9 is needed by gettext-0.20.2-1.ppc
       ncurses >= 6.2 is needed by gettext-0.20.2-1.ppc







    ------------------------------
    Edward Pang
    ------------------------------


  • 2.  RE: Need help to upgrade my sudo to sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm

    Posted Mon March 01, 2021 01:19 AM
    Edited by SANKET RATHI Mon March 01, 2021 01:21 AM
    As output suggests you will have to install all the dependencies. 
     glib2, libgcc, libiconv, libunistring, libxml2, ncurses etc.
    The best way to install rpms from AIX toolbox is using yum as on any other rpm based system.



    ------------------------------
    SANKET RATHI
    ------------------------------



  • 3.  RE: Need help to upgrade my sudo to sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm

    Posted Mon March 01, 2021 11:24 AM
    That means the "sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm" does need "a lot" of dependencies. That is a big different than the old "sudo-1.8.15-1noldap.ppc" which doesn't require dependencies. Is it correct?

    ------------------------------
    Edward Pang
    ------------------------------



  • 4.  RE: Need help to upgrade my sudo to sudo_noldap-1.9.5p2-1.aix6.1.ppc.rpm

    Posted Thu March 04, 2021 07:31 AM
    Yes lot of dependent packages have changed and added new functionalities.
    Also now we are building packages with gcc hence gcc libraries are other new dependencies.

    ------------------------------
    SANKET RATHI
    ------------------------------