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
  • 1.  Facing issue while executing yum.sh.

    Posted Fri June 19, 2020 08:25 AM

    Hi Team,

    I am facing issue while executing yum.sh on AIX server, actually we are planning to install python3 on this server and for that yum is required so I tried to executing this but it is throwing below error. I have upgraded the OS as well with 7100-05 and installed couple of dependencies but still facing the same issue, So please help me to fix it.Thanks!

    ./yum.sh
    Attempting download of rpm.rte & yum_bundle.tar ...
    ./yum.sh[57]: expect: not found.
    Failed to download rpm.rte



    ------------------------------
    Anuj Kaushik
    ------------------------------


  • 2.  RE: Facing issue while executing yum.sh.

    Posted Fri June 19, 2020 08:32 AM
    expect will be installed by default by expect.base fileset on AIX system.
    Please check if expect fileset is installed properly.
    You mentioned couple of dependencies, what are those packages ?

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



  • 3.  RE: Facing issue while executing yum.sh.

    Posted Fri June 19, 2020 08:49 AM
    Hi Sangamesh,

    expect is already installed and please find below couple of dependencies like tk,tcl,glib etc..etc were not there on server before so installed but no luck, even I was having older version of expect so which upgrading it it is showing like rpm.rte is old so upgraded rpm.rte as well but still can able to execute this. I thought it is an issue with rpm.bundle and rpm.rte so downloaded latest rpm.rte.4.13.0.10 but not sure how to install it as it is not with .rte extension.

    Below is the list of dependencies ---------fontconfig-2.2.2-3.ppc
    libjpeg-6b-6.ppc
    gtk2-2.2.4-4.ppc
    info-5.0-2.ppc
    bash-4.3-8.ppc
    rsync-3.1.2-1.ppc
    libgcc-8.3.0-2.ppc
    curl-7.9.3-2.ppc
    gtk+-1.2.10-4.ppc
    libiconv-1.14-1.ppc
    libpng-1.2.1-6.ppc
    xft-0.0-0.ppc
    sudo-1.8.26-1.ppc
    bzip2-1.0.2-3.ppc
    tcl-8.4.7-3.ppc
    expect-5.45.4-1.ppc
    gdbm-1.8.3-1.ppc
    expat-1.95.7-1.ppc
    glib2-2.2.3-3.ppc
    libtiff-3.6.1-2.ppc
    xrender-0.0-0.ppc
    gettext-0.17-8.ppc
    zip-3.0-1.ppc
    python-2.3.4-4.ppc
    expect-5.42.1-3.ppc
    wget-1.9.1-1.ppc
    freetype2-2.1.7-2.ppc
    atk-1.4.0-1.ppc
    pango-1.2.5-1.ppc
    zlib-1.2.2-4.ppc
    tar-1.27-1.ppc
    unzip-5.51-1.ppc
    readline-4.3-2.ppc
    tk-8.4.7-3.ppc
    tcl-8.6.8-3.ppc
    AIX-rpm-7.1.5.30-6.ppc



    ------------------------------
    Anuj Kaushik
    ------------------------------



  • 4.  RE: Facing issue while executing yum.sh.

    Posted Fri June 19, 2020 09:31 AM
    As i mentioned expect will be present by default, we don't need to install rpm package for that.
    yum.sh script takes care of  updating rpm.rte to latest version and minimal packages to run YUM.
    check if expect command is working fine. The default /usr/bin/expect command should always work.
    Once confirming that expect command is working fine then you can run yum.sh again.

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



  • 5.  RE: Facing issue while executing yum.sh.

    Posted Fri June 19, 2020 11:56 AM
    Just to clarify Sangamesh's comment expect also comes with AIX base and in AIX native lpp format. 
    So you should have that installed in your system.
    Please verify that you have expect.base with following command.
    # ​​lslpp -l | grep expect

    If it is present then you should not face issue with expect not found until there is something wrong with system. 
    Can you try to use expect outside script and see if that is working ?

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