AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

AIX 7.2 TL5 SP4 fail to install "gzip-1.12-3.aix7.1.ppc.rpm" from toolbox and got the error "grep is needed"

  • 1.  AIX 7.2 TL5 SP4 fail to install "gzip-1.12-3.aix7.1.ppc.rpm" from toolbox and got the error "grep is needed"

    Posted Sun January 29, 2023 12:08 AM
    Edited by Ayappan P Mon January 30, 2023 08:07 AM
    Environment: AIX 7.2 TL5 SP4
    Problem:
     Customer would like to use the zgrep command on AIX 7.2 TL5 SP4. From link below, it requires to install the GNU grep and GNU gzip from AIX toolbox. 
    URL https://www.ibm.com/support/pages/aix-open-source-where-zgrep
    When installing the "gzip-1.12-3.aix7.1.ppc.rpm", it shows files conflict with already installed gzip-1.4-1.ppc package.

    When try to uninstall gzip-1.4-1.ppc, it shows the error as below. 

    How to uninstall "gzip-1.4-1.ppc"?
    ----------------------------------------------
    # rpm -e gzip-1.4-1.ppc
    error: Failed dependencies: gzip is needed by (installed) AIX-rpm-7.2.5.103-5.ppc
    ----------------------------------------------
     
    -- The existing installed RPM packages on LPAR --
    # rpm -qa

    gdbm-1.10-1.ppc

    autoconf-2.69-1.ppc

    bzip2-1.0.6-1.ppc

    coreutils-8.18-1.ppc

    libstdc++-4.8.2-1.ppc

    less-451-1.ppc

    mtools-4.0.17-1.ppc

    popt-1.16-1.ppc

    unzip-6.0-2.ppc

    wu-ftpd-2.6.2-6.ppc

    atk-1.32.0-1.ppc

    libxcb-1.7-1.ppc

    libcroco-0.6.5-1.ppc

    libtiff-4.0.3-1.ppc

    libthai-0.1.18-1.ppc

    enscript-1.6.5.2-2.ppc

    expect-5.45-1.ppc

    gcc-4.8.2-1.ppc

    libpaper-1.1.24-1.ppc

    glib-1.2.10-3.ppc

    libgpg-error-1.12-1.ppc

    gnutls-2.12.20-1.ppc

    libXpm-3.5.10-2.ppc

    perl-5.8.8-2.ppc

    tar-1.27-1.ppc

    expat-2.1.0-1.ppc

    libXft-2.3.1-1.ppc

    libiconv-1.14-2.ppc

    apr-util-1.5.2-1.ppc

    db4-4.7.25-2.ppc

    libgcrypt-1.5.3-1.ppc

    libsigsegv-2.10-1.ppc

    openCIMOM-0.8-1.noarch

    rsync-3.1.0-1.ppc

    vnc-3.3.3r2-6.ppc

    zip-3.0-1.ppc

    libgcc-4.8.2-1.ppc

    lzo-2.06-1.ppc

    libjpeg-9-1.ppc

    jasper-1.900.1-2.ppc

    pango-1.24.5-1.ppc

    expat-devel-2.1.0-1.ppc

    fontconfig-2.10.2-1.ppc

    gcc-cpp-4.8.2-1.ppc

    urw-fonts-2.4-1.noarch

    libffi-3.0.13-1.ppc

    libtasn1-3.4-1.ppc

    info-5.1-2.ppc

    libXrender-0.9.8-1.ppc

    openssl-1.0.1e-2.ppc

    vim-common-7.4.052-1.ppc

    readline-6.3-5.ppc

    apr-1.4.8-1.ppc

    python-libs-2.6.8-1.ppc

    bash-doc-3.2-4.ppc

    cdrecord-devel-2.01-1.ppc

    findutils-4.4.2-2.ppc

    gzip-1.4-1.ppc

    m4-1.4.16-1.ppc

    patch-2.7.1-1.ppc

    e414571614102004-10240180-1.noarch

    wget-1.14-2.ppc

    xz-libs-5.0.5-1.ppc

    pixman-0.28.2-1.ppc

    jbigkit-libs-2.0-2.ppc

    cairo-1.12.14-1.ppc

    gtk2-2.20.1-2.ppc

    tcl-8.5.15-1.ppc

    mpfr-3.1.2-1.ppc

    lcms2-2.5-1.ppc

    ghostscript-fonts-8.11-1.noarch

    glib2-2.34.3-1.ppc

    nettle-2.7.1-1.ppc

    lftp-4.4.13-1.ppc

    ncftp-3.2.5-1.ppc

    python-2.6.8-1.ppc

    vim-enhanced-7.4.052-1.ppc

    freetype2-2.5.0-2.ppc

    zlib-1.2.7-2.ppc

    bison-2.6.4-1.ppc

    conserver-8.1.7-2.ppc

    gettext-0.17-1.ppc

    pkg-config-0.28-1.ppc

    libpng-1.6.7-1.ppc

    sqlite-3.8.1-1.ppc

    screen-4.0.3-1.ppc

    which-2.20-1.ppc

    bash-4.2-12.ppc

    libxml2-2.9.1-1.ppc

    libart_lgpl-2.3.21-1.ppc

    jbigkit-2.0-2.ppc

    libdatrie-0.2.4-1.ppc

    librsvg2-2.34.2-1.ppc

    tk-8.5.15-1.ppc

    libmpc-1.0.1-2.ppc

    libidn-1.28-1.ppc

    ghostscript-9.06-2.ppc

    gmp-5.1.3-1.ppc

    p11-kit-0.14-1.ppc

    xorg-compat-aix-1.2-1.ppc

    pcre-8.33-1.ppc

    AIX-rpm-7.2.5.103-5.ppc

    ----------------------------------------------

    Please kindly help to recommend.
    Thanks so much for your help.
    Premvadee Kusollerkdee





  • 2.  RE: AIX 7.2 TL5 SP4 fail to install "gzip-1.12-3.aix7.1.ppc.rpm" from toolbox and got the error "grep is needed"

    Posted Sun January 29, 2023 08:26 AM
    Problem is from missing install dependencies packages.

    ------------------------------
    Premvadee KUSOLLERKDEE
    PremvadeeKUSOLLERKDEE
    ------------------------------



  • 3.  RE: AIX 7.2 TL5 SP4 fail to install "gzip-1.12-3.aix7.1.ppc.rpm" from toolbox and got the error "grep is needed"

    Posted Sun January 29, 2023 08:33 AM
    The problem is from missing to install the dependencies RPM packages.

    ------------------------------
    Premvadee KUSOLLERKDEE
    PremvadeeKUSOLLERKDEE
    ------------------------------