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

Where can I find out how to resolve yum errors

  • 1.  Where can I find out how to resolve yum errors

    Posted Thu March 23, 2023 10:18 PM

    Where can I find out how to resolve yum errors like below:

    root@iswhssvcs-m1d1 515# yum install python3
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package python3.ppc 0:3.7.15-2 will be installed
    --> Processing Dependency: bzip2 >= 1.0.8 for package: python3-3.7.15-2.ppc
    --> Processing Dependency: expat >= 2.4.9 for package: python3-3.7.15-2.ppc
    --> Processing Dependency: gdbm >= 1.23 for package: python3-3.7.15-2.ppc
    --> Processing Dependency: gettext >= 0.21 for package: python3-3.7.15-2.ppc
    --> Processing Dependency: libffi >= 3.4.2 for package: python3-3.7.15-2.ppc
    --> Processing Dependency: readline >= 8.1 for package: python3-3.7.15-2.ppc
    --> Processing Dependency: sqlite >= 3.37.2 for package: python3-3.7.15-2.ppc
    --> Processing Dependency: zlib >= 1.2.12 for package: python3-3.7.15-2.ppc
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: python3-3.7.15-2.ppc
    --> Processing Dependency: libexpat.a(libexpat.so.1) for package: python3-3.7.15-2.ppc
    --> Processing Dependency: libffi.a(libffi.so.8) for package: python3-3.7.15-2.ppc
    --> Processing Dependency: libgdbm.a(libgdbm.so.6) for package: python3-3.7.15-2.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: python3-3.7.15-2.ppc
    --> Running transaction check
    ---> Package bzip2.ppc 0:1.0.8-2 will be installed
    ---> Package expat.ppc 0:2.5.0-1 will be installed
    ---> Package gdbm.ppc 0:1.8.3-5 will be updated
    ---> Package gdbm.ppc 0:1.23-1 will be an update
    ---> Package gettext.ppc 0:0.20.2-1 will be updated
    ---> Package gettext.ppc 0:0.21-2 will be an update
    --> Processing Dependency: libtextstyle = 0.21-2 for package: gettext-0.21-2.ppc
    ---> Package libffi.ppc 0:3.2.1-3 will be updated
    ---> Package libffi.ppc 0:3.4.2-1 will be an update
    ---> Package python3.ppc 0:3.7.15-2 will be installed
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: python3-3.7.15-2.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: python3-3.7.15-2.ppc
    ---> Package readline.ppc 0:6.1-2 will be updated
    ---> Package readline.ppc 0:8.1-1 will be an update
    ---> Package sqlite.ppc 0:3.15.2-1 will be updated
    ---> Package sqlite.ppc 0:3.39.3-1 will be an update
    --> Processing Dependency: ncurses >= 6.2-3 for package: sqlite-3.39.3-1.ppc
    ---> Package zlib.ppc 0:1.2.11-2 will be updated
    ---> Package zlib.ppc 0:1.2.13-1 will be an update
    --> Running transaction check
    ---> Package libtextstyle.ppc 0:0.20.2-1 will be updated
    ---> Package libtextstyle.ppc 0:0.21-2 will be an update
    ---> Package ncurses.ppc 0:6.2-2 will be updated
    ---> Package ncurses.ppc 0:6.3-1 will be an update
    ---> Package python3.ppc 0:3.7.15-2 will be installed
    --> Processing Dependency: libcrypto.a(libcrypto.so.1.1) for package: python3-3.7.15-2.ppc
    --> Processing Dependency: libssl.a(libssl.so.1.1) for package: python3-3.7.15-2.ppc
    --> Finished Dependency Resolution
    Error: Package: python3-3.7.15-2.ppc (AIX_Toolbox)
               Requires: libcrypto.a(libcrypto.so.1.1)
    Error: Package: python3-3.7.15-2.ppc (AIX_Toolbox)
               Requires: libssl.a(libssl.so.1.1)
     You could try using --skip-broken to work around the problem
    ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
    zip-3.0-4.ppc has missing requires of bzip2 >= ('0', '1.0.8', '2')
    [/] RC=1
    



    ------------------------------
    Donald Williams
    ------------------------------


  • 2.  RE: Where can I find out how to resolve yum errors

    Posted Fri March 24, 2023 05:11 AM

    This looks like the type of error that occurs when RPM is out of sync with LPP.  Try running "updtvpkg" to resync.  If that doesn't resolve the issue, check to make sure that you have the required level of the openssl fileset installed (the rpms are complied against the openssl fileset).  The level required has been mentioned a few times around these groups, but I can't remember off the top of my head which it is.



    ------------------------------
    Phill Rowbottom
    ------------------------------



  • 3.  RE: Where can I find out how to resolve yum errors

    Posted Fri March 24, 2023 03:33 PM

    Hmm, I thought yum would install (or ask to install) the correct OpenSSL fileset as part of its dependency resolution.



    ------------------------------
    Donald Williams
    ------------------------------



  • 4.  RE: Where can I find out how to resolve yum errors

    Posted Mon March 27, 2023 04:16 AM

    yum only installs RPMs, it doesn't install filesets.  The RPMs in the repository are compiled against and can have dependancies on filesets, in this case the OpenSSL fileset. If you do a yum list, you'll notice that there isn't an OpenSSL RPM in the repositories, that is because the OpenSSL fileset is used as the dependancy (no duplicating OpenSSL installs).  You need to install any fileset dependancies outside of yum.



    ------------------------------
    Phill Rowbottom
    ------------------------------



  • 5.  RE: Where can I find out how to resolve yum errors

    Posted Mon March 27, 2023 09:33 AM
    Error: Package: python3-3.7.15-2.ppc (AIX_Toolbox)
     Requires: libcrypto.a(libcrypto.so.1.1)
    Error: Package: python3-3.7.15-2.ppc (AIX_Toolbox)
     Requires: libssl.a(libssl.so.1.1)
     You could try using --skip-broken to work around the problem
    ** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
    zip-3.0-4.ppc has missing requires of bzip2 >= ('0', '1.0.8', '2')
    [/] RC=1

     

    Download this 2 rpm from AIX toolbox then try to install again.






  • 6.  RE: Where can I find out how to resolve yum errors

    Posted Fri March 24, 2023 01:54 PM

    Please use DNF instead of yum and see what results you get.

     

    https://www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha






  • 7.  RE: Where can I find out how to resolve yum errors

    Posted Fri March 24, 2023 03:29 PM

    We have not installed DNF on any of our systems yet, but point taken.



    ------------------------------
    Donald Williams
    ------------------------------



  • 8.  RE: Where can I find out how to resolve yum errors

    Posted Fri March 24, 2023 01:56 PM

    Donald, what version of openssl and openssh you have it installed.

     

    https://www.ibm.com/support/pages/downloading-and-installing-or-upgrading-openssl-and-openssh






  • 9.  RE: Where can I find out how to resolve yum errors

    Posted Fri March 24, 2023 03:58 PM

    root@iswhsenga-m1d1 554$ lslpp -L|grep -i openss
      openssh.base.client   8.1.102.2104    C     F    Open Secure Shell Commands
      openssh.base.server   8.1.102.2104    C     F    Open Secure Shell Server
      openssh.man.en_US     8.1.102.2104    C     F    Open Secure Shell
      openssl.base            1.0.2.2102    C     F    Open Secure Socket Layer
      openssl.license         1.0.2.2102    C     F    Open Secure Socket License
      openssl.man.en_US       1.0.2.2102    C     F    Open Secure Socket Layer



    ------------------------------
    Donald Williams
    ------------------------------



  • 10.  RE: Where can I find out how to resolve yum errors

    Posted Fri March 24, 2023 04:50 PM

    If you are trying to install .rpm pkg from IBM AIX tool box website.

     

    Do smitty install  then directory and preview install and it will give you list of dependencies and you will have to download and try it again to find missing dependency and you may have to remove .toc file in the directory where you have this or

    Or

    Download dnf from tool box and use dnf to install python3.

     

     






  • 11.  RE: Where can I find out how to resolve yum errors

    Posted Mon March 27, 2023 04:19 AM

    https://www.ibm.com/support/pages/downloading-and-installing-or-upgrading-openssl-and-openssh, looks like your OpenSSL fileset is down level.  Try updating it to the current level and try again.



    ------------------------------
    Phill Rowbottom
    ------------------------------