AIX Open Source

 View Only
  • 1.  yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Mon December 05, 2022 12:17 PM

    Hello everyone,

    It seems that after there are new package versions in the AIX_Toolbox repo We are unable to update rpm with YUM UPDATE.
    the update process ends:
    [//]$ yum update

    [ ... ]

    --> Finished Dependency Resolution
    Error: Package: python3-3.7.15-1.ppc (AIX_Toolbox)
    Requires: (libcomps >= 0.1.11-101 if dnf)
    Error: Package: curl-7.85.0-1.ppc (AIX_Toolbox)
    Requires: (python3 >= 3.7.15 if dnf)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    I tried to install python3 separately , but it also fails with an error:

    $ yum install python3
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package python3.ppc 0:3.7.12-1 will be updated
    ---> Package python3.ppc 0:3.7.15-1 will be an update
    --> Processing Dependency: expat >= 2.4.9 for package: python3-3.7.15-1.ppc
    --> Processing Dependency: gdbm >= 1.23 for package: python3-3.7.15-1.ppc
    --> Processing Dependency: gettext >= 0.21 for package: python3-3.7.15-1.ppc
    --> Processing Dependency: libffi >= 3.4.2 for package: python3-3.7.15-1.ppc
    --> Processing Dependency: sqlite >= 3.37.2 for package: python3-3.7.15-1.ppc
    --> Processing Dependency: zlib >= 1.2.12 for package: python3-3.7.15-1.ppc
    --> Processing Dependency: (libcomps >= 0.1.11-101 if dnf) for package: python3-3.7.15-1.ppc
    --> Processing Dependency: libffi.a(libffi.so.8) for package: python3-3.7.15-1.ppc
    --> Running transaction check
    ---> Package expat.ppc 0:2.2.9-2 will be updated
    ---> Package expat.ppc 0:2.4.9-1 will be an update
    ---> Package gdbm.ppc 0:1.19-1 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-1 will be an update
    --> Processing Dependency: (libcomps >= 0.1.11-101 if dnf) for package: python3-3.7.15-1.ppc
    ---> Package sqlite.ppc 0:3.35.5-1 will be updated
    ---> Package sqlite.ppc 0:3.39.3-1 will be an update
    ---> Package zlib.ppc 0:1.2.11-2 will be updated
    ---> Package zlib.ppc 0:1.2.12-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 python3.ppc 0:3.7.15-1 will be an update
    --> Processing Dependency: (libcomps >= 0.1.11-101 if dnf) for package: python3-3.7.15-1.ppc
    --> Finished Dependency Resolution
    Error: Package: python3-3.7.15-1.ppc (AIX_Toolbox)
    Requires: (libcomps >= 0.1.11-101 if dnf)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

    I am able to install the libcomps(Package libcomps-0.1.11-101.ppc already installed and latest version) but when trying to install python3 still fails with the same error:

    Error: Package: python3-3.7.15-1.ppc (AIX_Toolbox)
    Requires: (libcomps >= 0.1.11-101 if dnf)

    Has anyone run into this problem using YUM, and dealt with it?

    What could be the reason for such problems?

    PS. We don't use DNF because it doesn't work with the Chef-Client (CHEFDK) . Chef can't use the dnf_package for some reason.I am still investigating why this is happening



    ------------------------------
    Kamil P
    ------------------------------


  • 2.  RE: yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Tue December 06, 2022 01:49 AM
    Hi Kamil,

    I had the  same issue and ended up using dnf to get past it.  Unfortunately that also then started to fail after an update and now core dumps.
    Trying to some stuff today, so see how it goes..

    ------------------------------
    Bradley Wells
    ------------------------------



  • 3.  RE: yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Fri December 09, 2022 09:44 AM
    I'm with you, The yum switch to dnf  came as a surprise to me. ~600 AIX servers need to be switch and yum isn't working on most due to a recent update to AIX 7200-05-02.

    ------------------------------
    Carl Gerlach
    ------------------------------



  • 4.  RE: yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Tue December 06, 2022 03:48 AM
    yum will not understand the "( libcomps >= 0.1.11-101 if dnf )" requires syntax. 
    yum is already out of support. Please move to dnf.

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



  • 5.  RE: yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Tue December 06, 2022 03:49 PM

    Hello,

    Thank you very much for your answer.

    I understand that the need to switch to dnf, but is there any walkaround this problem? The situation surprised us, we would like to give ourselves some time to migrate to DNF.



    ------------------------------
    Kamil P
    ------------------------------



  • 6.  RE: yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Thu December 08, 2022 03:55 AM
    The only workaround is to download python3-3.7.15 rpm and install it manually using rpm command.

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



  • 7.  RE: yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Fri December 09, 2022 05:36 AM

    Hello,
    Thanks for the answer

    I understand that every next python or curl update will require manual installation of these rpm?

    And one more question. i manually updated python3 and curl and now when i use https i get these errors:

    Total download size: 32 M
    Is this ok [y/N]: y
    Downloading Packages:
    anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/bash/bash-5.1.16-1.aix7.1.ppc.rpm:">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/bash/bash-5.1.16-1.aix7.1.ppc.rpm: [Errno 14] curl#35 - "error:0609D09C:digital envelope routines:INT_CTX_NEW:unsupported algorithm"
    Trying other mirror.
    anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/cloudinit/cloud-init-0.7.5-4.5.aix7.1.ppc.rpm:">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/cloudinit/cloud-init-0.7.5-4.5.aix7.1.ppc.rpm: [Errno 14] curl#35 - "error:0609D09C:digital envelope routines:INT_CTX_NEW:unsupported algorithm"
    Trying other mirror.
    anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/expect/expect-5.45.4-2.aix6.1.ppc.rpm:">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/expect/expect-5.45.4-2.aix6.1.ppc.rpm: [Errno 14] curl#35 - "error:0609D09C:digital envelope routines:INT_CTX_NEW:unsupported algorithm"
    Trying other mirror.
    anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/fontconfig/fontconfig-2.11.95-4.aix6.1.ppc.rpm:">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/fontconfig/fontconfig-2.11.95-4.aix6.1.ppc.rpm: [Errno 14] curl#35 - "error:0609D09C:digital envelope routines:INT_CTX_NEW:unsupported algorithm"
    Trying other mirror.
    anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/freetype2/freetype2-2.12.1-1.aix7.1.ppc.rpm:">https://anonymous:anonymous@public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/freetype2/freetype2-2.12.1-1.aix7.1.ppc.rpm: [Errno 14] curl#35 - "error:0609D09C:digital envelope routines:INT_CTX_NEW:unsupported algorithm"
    Trying other mirror.

    I tried installing different versions of openssl from the 1.1 branch, without success. what could be the reason ?



    ------------------------------
    Kamil P
    ------------------------------



  • 8.  RE: yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Wed December 07, 2022 04:21 AM
    Edited by Philip Krab Wed December 07, 2022 08:09 AM
    Hi,

    Running into the same problem on AIX 7200-05-05-2246 and AIX 7200-05-04-2220.

    /home/root [root@<host>] # > yum update
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package curl.ppc 0:7.83.1-1 will be updated
    ---> Package curl.ppc 0:7.85.0-1 will be an update
    --> Processing Dependency: (python3 >= 3.7.15 if dnf) for package: curl-7.85.0-1.ppc
    ---> Package libxml2.ppc 0:2.9.14-1 will be updated
    ---> Package libxml2.ppc 0:2.10.2-1 will be an update
    ---> Package python3.ppc 0:3.7.12-1 will be updated
    ---> Package python3.ppc 0:3.7.15-1 will be an update
    --> Processing Dependency: (libcomps >= 0.1.11-101 if dnf) for package: python3-3.7.15-1.ppc
    ---> Package sqlite.ppc 0:3.37.2-1 will be updated
    ---> Package sqlite.ppc 0:3.39.3-1 will be an update
    ---> Package vim-common.ppc 0:8.2.5172-1 will be updated
    ---> Package vim-common.ppc 0:9.0.0325-1 will be an update
    ---> Package vim-enhanced.ppc 0:8.2.5172-1 will be updated
    ---> Package vim-enhanced.ppc 0:9.0.0325-1 will be an update
    --> Finished Dependency Resolution
    Error: Package: python3-3.7.15-1.ppc (AIX_Toolbox)
    Requires: (libcomps >= 0.1.11-101 if dnf)
    Error: Package: curl-7.85.0-1.ppc (AIX_Toolbox)
    Requires: (python3 >= 3.7.15 if dnf)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    /home/root [root@<host>] # > oslevel -s
    7200-05-04-2220

    Regards.

    ------------------------------
    Philip Krab
    ------------------------------



  • 9.  RE: yum update fails with an error Requires: (libcomps >= 0.1.11-101 if dnf)

    Posted Thu December 22, 2022 06:57 AM
    Issue related to YUM update and curl error should be resolved now with the latest updates we made.

    Please have a look at this post https://community.ibm.com/community/user/power/discussion/recent-dnf-and-yum-issues-with-newer-python3-and-curl-builds

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