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 repolist issue and curl error

    Posted Mon March 06, 2023 05:57 PM

    Hi,

    On several of my systems, 'yum repolist' returns

    https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/repodata/repomd.xml: [Errno 14] curl#35 - "error:0609D09C:lib(6):func(157):reason(156)"

    Trying other mirror.

    repo id                                            repo name                                                   status

    AIX_Toolbox                                        AIX generic repository                                      0

    AIX_Toolbox_72                                     AIX 7.2 specific repository                                 0

    AIX_Toolbox_noarch                                 AIX noarch repository                                       0

    CMC                                                CMC repository                                              0

    repolist: 0

    I have tried 'yum clean all' and reinstalling ca-certificates. I even downloaded the latest 

    yum_bundle.tar 

    but since the packages installed are at the same level, I get messages like

    error: Failed dependencies:

            python < 2.7.18-2 conflicts with (installed) python-devel-2.7.18-2.ppc

    The --force, --reinstall, --replacefiles, and --replacepkgs options do not help.

    Any suggestions?

    Thank you!



    ------------------------------
    Tai Morris
    ------------------------------


  • 2.  RE: yum repolist issue and curl error

    Posted Mon March 06, 2023 06:09 PM

    I got it working by selectively downgrading curl and python-pycurl to the versions that came with the yum_bundle.tar file. The version of curl that gave me a headache is

    curl-7.86.0-1.ppc

    And the version of curl I downgraded to that worked is

    curl-7.52.1-1.ppc



    ------------------------------
    Tai Morris
    ------------------------------



  • 3.  RE: yum repolist issue and curl error

    Posted Fri March 17, 2023 03:47 AM

    Thanks Tai, I had the same issue and I am glad I found your post!

    I installed git with yum, and the git installation pulled curl-7.86.0-1.ppc. Downgrading curl to 7.52.1 didn't work - after the downgrade, yum was complaining about expired certificates. I downgraded to:

    curl-7.79.1-1.ppc

    and it worked.



    ------------------------------
    Bernard Normier
    ------------------------------