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.  YUM dependencies with python

    Posted Thu June 14, 2018 02:38 PM

    Originally posted by: gromit131


    Hello,

     

         I am trying to install yum by running yum.sh.  It is failing when trying to install python.  Here are the messages,

     

    pysqlite-1.1.7-2 will be installed ...

    python-2.6.2-1 is installed.  Updating to python-2.7.10-1 ...

    python-devel-2.7.10-1 will be installed ...

    python-iniparse-0.4-1 will be installed ...

    python-pycurl-7.19.3-1 will be installed ...

    python-tools-2.7.10-1 will be installed ...

    python-urlgrabber-3.10.1-1 will be installed ...

    Skipping readline-6.1-2 as higher version is already installed.

    Please make sure these packages are from the Toolbox as there is no guarantee that

    third party packages are compatible with Toolbox packages.

     

    sqlite-3.7.9-1 is installed.  Updating to sqlite-3.15.2-1 ...

    yum-3.4.3-5 will be installed ...

    yum-metadata-parser-1.1.4-2 will be installed ...

     

    Installing the packages...

     

    error: Failed dependencies:

            libtcl8.4.so is needed by python-2.7.10-1.ppc

            libtk8.4.so is needed by python-2.7.10-1.ppc

            python = 2.6.2-1 is needed by (installed) python-libs-2.6.2-1.ppc

     

     

         But I do have libtcl and libtk but they are version 8.5 instead of 8.4.  

     

    (/tmp/yum-20180614135731)> ls /usr/lib/libtcl*
    /usr/lib/libtcl.so     /usr/lib/libtcl8.5.so

    (/tmp/yum-20180614135731)> ls /usr/lib/libtk*
    /usr/lib/libtk.so     /usr/lib/libtk8.5.so

     

         Do I need to downgrade them?  Any advices?  Thanks.

     

    Francis.

     

     

     

     

     



  • 2.  Re: YUM dependencies with python

    Posted Fri June 15, 2018 07:33 AM

    Originally posted by: sangameshm


    Please check if  tcl.base, tk.base, expect.base packages are installed.

    # lslpp -L | grep tcl.base
      tcl.base                   8.4.7.0    C     F    Binary executable files of Tcl

    etc..

     

    # lslpp -w /usr/lib/libtcl8.4.so
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/lib/libtcl8.4.so                       tcl.base              File

     

    And what version of AIX you have ?

     

    These filesets should be installed by default.

     

    Also please check who is providing  /usr/lib/libtcl8.5.so

    by running "rpm -qf  /usr/lib/libtcl8.5.so" 

     

    Thanks,

    Sangamesh

     

     



  • 3.  Re: YUM dependencies with python

    Posted Wed June 20, 2018 10:45 AM

    Originally posted by: gromit131


    Thanks Sangamesh.  The server I am working on is an older AIX server that has been upgraded a few times.  Those packages, tcl.base, tk.base, etc, were not on the server.  I re-imaged the server and now everything is working.  

     

    One last question, is it possible to use yum via a proxy?  If so, how?  Can I just update yum.conf?  Thanks again.



  • 4.  Re: YUM dependencies with python

    Posted Wed June 20, 2018 11:30 AM

    Originally posted by: AyappanP


    Using proxy is straight forward in Yum. Follow the steps here --> https://www.centos.org/docs/5/html/yum/sn-yum-proxy-server.html