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.  sudo not part of toolbox yum repo

    Posted Mon March 29, 2021 11:57 AM

    Hi guys

    I have a setup very similar to Configuring YUM and creating local repositories on IBM AIX but using reposync -d ( to remove local packages not part of the repo )

    However, I figured out that sudo seems not to be part of the repository any more though available from the toolbox directory. http://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc

    My yum repo config pointing to this URL does not find it either. ( yum clean all done )

    Has it been somehow excluded from the online repository for any reason or could I miss anything here?

    Thx for any help/ideas
    Have fun...
    Marcel



    ------------------------------
    Marcel Mages-Veidt
    ------------------------------

    #AIXOpenSource


  • 2.  RE: sudo not part of toolbox yum repo

    Posted Tue March 30, 2021 11:11 AM
    Hi Marcel,

    All sudo packages are part of AIX YUM repository

    # yum list \*sudo\*
    Available Packages
    sudo.ppc 1.9.5p2-1 AIX_Toolbox
    sudo_ids.ppc 1.9.5p2-1 AIX_Toolbox
    sudo_noldap.ppc 1.9.5p2-1 AIX_Toolbox

    Please could you verify if sudo is part of your local YUM repository ?

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



  • 3.  RE: sudo not part of toolbox yum repo

    Posted Tue March 30, 2021 11:43 AM

    Hi,

    thanks for your answer. It made me investigating again and now I found the reason and the issue is solved to my satisfaction. Reposync uses the default yum.conf if no other specified and in there ,sudo was excluded.

    exclude=sudo*

    So to avoid reposync to exclude sudo you can remove that config option or specify another custom yum.conf with the -c|--config parameter of reposync.

    Thx again
    Have fun...
    Marcel



    ------------------------------
    Marcel Mages-Veidt
    ------------------------------