AIX Open Source

 View Only
  • 1.  Yum install

    Posted Tue November 10, 2020 11:02 AM
    Currently installing yum on AIX 6.1.9 but hitting issues with lib files and where to get them

    Downloaded yumbundle4.tar and untar it and ran the rpm job and this is the output
    [e2lpar4]root:/yum# rpm -Uvh *.rpm
    error: Failed dependencies:
    libcrypto.a(libcrypto.so) is needed by curl-7.52.1-1.ppc
    libssl.a(libssl.so) is needed by curl-7.52.1-1.ppc
    libcrypto.a(libcrypto.so) is needed by python-2.7.10-1.ppc
    libssl.a(libssl.so) is needed by python-2.7.10-1.ppc
    libtcl8.4.so is needed by python-2.7.10-1.ppc
    libtk8.4.so is needed by python-2.7.10-1.ppc
    libcrypto.a(libcrypto.so) is needed by python-pycurl-7.19.3-1.ppc

    How do \I get or work with the lib issues

    ------------------------------
    Lee Fairbrother-Adams
    ------------------------------


  • 2.  RE: Yum install

    Posted Wed November 11, 2020 04:11 AM
    Please look into this post --> https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?MessageKey=f468a4d6-217c-4cf7-9542-c66c0be7b79b&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer#bmf468a4d6-217c-4cf7-9542-c66c0be7b79b

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Yum install

    Posted Thu November 12, 2020 11:10 AM
    Looks like you have lots of RPMs installed already? Like openssl? That has to go.

    What I do is to

    1. Save off some config files, like /etc/sudoers and "rpm -qa" output
    2. Uninstall all RPMs: rpm -e $(rpm -qa)
    3. Install latest rpm.rte
    4. updtvpkg, just to be sure all is in sync
    5. rpm -Uvh $(ls /directory_where_I_have/yum_bundle/*.rpm)
    6. Install our .repo files, we create our own BFF file for that
    7. yum clean all
    8. yum repolist - to verify that repo list is OK and they are reachable.
    9. yum update
    10. Reinstall RPMs that used to be here before using yum.

    We also do it in two steps, as we normally use https for the repos, but the yum_bundle can only do http.

    Also, important to du "yum localinstall" and not "rpm" directly if you want to install RPMs not in the YUM repos.

    ------------------------------
    Morten Torstensen
    ------------------------------



  • 4.  RE: Yum install

    Posted Fri November 13, 2020 03:17 AM
    To solve the problem i ran the following command
    rpm --nodeps --ignoreos --ignorearch --noscripts --install  *.rpm

    This forced the datasets to install but then it was complaining about lib* files

    This was resolved by upgrading my openssl data set to the latest version.

    Yum then started

    ------------------------------
    Lee Fairbrother-Adams
    ------------------------------



  • 5.  RE: Yum install

    Posted Fri November 13, 2020 03:40 AM

    I hope you upgraded the BFF version of openssl and not the RPM...?

    You way might work, but be careful as you should not mix the YUM repos with Perzl/Bull RPMs as they are not fully ABI compatible and that might come back and bite you later on. RPM and YUM might be happy based on versions and dependencies as described in the RPM metadata, but the actual libraries could cause subtle runtime errors. Caveat Emptor.



    ------------------------------
    Morten Torstensen
    ------------------------------