AIX Open Source

 View Only
  • 1.  Upgrading Apache with YUM

    Posted Fri April 30, 2021 03:28 AM
    Hello
    we are planning to upgrade obsolete  Apache version 2.2.31 which we were used to install third party perlz package.
    So we are planing to remove all perlz dependencies and try to install with YUM. Follwoing are the dependencies with Perlz in server. Is there anything I should take care of it when removing it or Is there any alternative way to install latest Apache with YUM

    apr-1.5.2-1.ppc

    apr-util-ldap-1.5.4-1.ppc

    bash-4.2-17.ppc

    bison-1.875-3.ppc

    cdrecord-1.9-6.ppc

    coreutils-5.2.1-2.ppc

    expat-2.1.1-1.ppc

    findutils-4.1-3.ppc

    gettext-0.10.40-8.ppc

    info-5.1-2.ppc

    libart_lgpl-2.3.17-4.ppc

    libiconv-1.14-2.ppc

    m4-1.4.1-1.ppc

    mtools-3.9.8-3.ppc

    openldap-2.4.23-0.4.ppc

    patch-2.5.4-4.ppc

    perl-5.8.2-1.ppc

    prngd-0.9.29-1.ppc

    rrdtool-1.2.13-1.ppc

    screen-3.9.10-2.ppc

    tcl-8.4.7-3.ppc

    unzip-5.51-1.ppc

    wu-ftpd-2.6.2-6.ppc

    zlib-1.2.8-1.ppc

    AIX-rpm-7.1.5.15-11.ppc

    apr-util-1.5.4-1.ppc

    autoconf-2.59-1.noarch

    bash-doc-3.2-5.ppc

    bzip2-1.0.6-1.ppc

    cdrecord-devel-1.9-6.ppc

    db4-4.7.25-2.ppc

    expect-5.42.1-3.ppc

    freetype2-2.3.5-1.ppc

    gzip-1.2.4a-7.ppc

    less-382-1.ppc

    libgcc-4.8.2-1.ppc

    libpng-1.2.29-1.ppc

    make-3.80-1.ppc

    openCIMOM-0.8-1.noarch

    openssl-1.0.1t-1.ppc

    pcre-8.38-1.ppc

    popt-1.16-1.ppc

    readline-6.3-5.ppc

    rsync-3.0.9-1.ppc

    tar-1.14-1.ppc

    tk-8.4.7-3.ppc

    which-2.14-1.ppc

    zip-2.3-3.ppc



    ------------------------------
    Alwin Alex
    ------------------------------


  • 2.  RE: Upgrading Apache with YUM

    Posted Fri April 30, 2021 03:54 AM
    The cleanest approach will be to remove all the existing RPMs and then install YUM from AIX toolbox and install required RPMs.

    Note: 
    We have seen some of the older RPMs may interfere with files provided by rpm.rte and while removing them can leave system in inconsistent state.
    To rectify this you can install rpm.rte again after removing all RPMs.  
    Though as part of yum installation rpm.rte is installed if your rpm.rte is at older level than needed by yum. 
    But our recommendation is reinstall rpm.rte after removing of all RPMs from system that will give you clean environment for YUM. 


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



  • 3.  RE: Upgrading Apache with YUM

    Posted Fri April 30, 2021 04:38 AM
    Hello, Thanks. Iam not familiar with AIX. So I can remove all the packages mentioned, even this AIX-rpm-7.1.5.15-11.ppc?
    Current version
    Fileset Level State Type Description (Uninstaller)
    ----------------------------------------------------------------------------
    rpm.rte 4.15.1.2 C F RPM Package Manager


    ------------------------------
    Alwin Alex
    ------------------------------



  • 4.  RE: Upgrading Apache with YUM

    Posted Fri April 30, 2021 05:37 AM
    You can leave AIX-rpm package this is a virtual rpm package create by AIX when run 'updtvpkg' command.
    This is used to help other RPM packages to provide AIX specific dependencies. 
    Here are the steps you should try.

    - Remove all RPMs
    - Reinstall rpm.rte
    - Install yum using yum.sh or using README-yum.

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



  • 5.  RE: Upgrading Apache with YUM

    Posted Fri May 07, 2021 09:41 AM
    What if YUM is already updated in the server, Do I need to remove perlz dependencies or just upgrade Apache with yum? I see most of the dependencies was updated by YUM

    ------------------------------
    Alwin Alex
    ------------------------------



  • 6.  RE: Upgrading Apache with YUM

    Posted Sat May 08, 2021 09:52 AM
    I would be better if you remove the existing RPMs.
    We can not guarantee that update will work because it is not tested. 
    These RPMs are built on different repo with different SPEC files if the name is not same then anyway update will not work.

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



  • 7.  RE: Upgrading Apache with YUM

    Posted Sat May 08, 2021 11:12 AM
    ok, but how to identify the perlz package if yum is already updated? and which yum command can be used to to remove all the rpm at once ?
    If I remove all the existing rpm again I need to update yum?

    ------------------------------
    Alwin Alex
    ------------------------------



  • 8.  RE: Upgrading Apache with YUM

    Posted Mon May 10, 2021 07:25 AM
    There is no very good way to find if an installed RPM came from where.
    But you can run "rpm -qi <rpm name>" and look for build host that can tell you if it came from IBM or not. If build host is an IBM domain. 
    If you want to remove all RPMS then yum will also be removed as yum is also RPM and has dependencies on lot other RPMs.



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