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.  logrotation install on AIX 7.2.5.7

    Posted Fri February 09, 2024 11:20 AM

    I'm new and was looking for some help in installing logroation to my AIX 7.2 sp5 tl7 system.  it states that it had a dependence failure for popt 1.18 but when looking at the system:
    # rpm -q popt-1.18-1.src.rpm
    popt-1.18-1.ppc
    it appears to be there so tried to install again:
    #  rpm -Uhv  logrotate-3.20.1-1.aix7.1.ppc.rpm
    error: Failed dependencies:
            popt >= 1.18 is needed by logrotate-3.20.1-1.ppc

    Any help appreciated.



    ------------------------------
    Marshael Morris
    ------------------------------

    #AIXOpenSource


  • 2.  RE: logrotation install on AIX 7.2.5.7

    Posted Fri February 09, 2024 02:31 PM

    Hello, Marshael

    popt-1.18-1.src.rpm is the source package, not the binary package.

    Perhaps your popt-1.18-1.ppc is from some other vendor?

    # rpm -qi  popt-1.18-1.ppc | grep "Build Host"

    Build Host  : pokndd10.pok.stglabs.ibm.com

    # rpm -qa popt

    popt-1.18-1.ppc
    Checking package....

    # rpm -Va popt-1.18-1.ppc

    (no errors)

    You could reinstall this package

     # rpm -ivh  --force  popt-1.18-1.aix6.1.ppc.rpm

    Note: The AIX Toolbox team recommends using DNF to install and manage Open Source software packages and dependencies
    Visit Get Started to learn more about DNF and the dnf_aixtoolbox.sh install script.
    https://www.ibm.com/support/pages/node/6585774
     
    --> Read What's New in the AIX Toolbox for Open Source Software
    https://www.ibm.com/support/pages/node/6833478


    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------