AIX Open Source

 View Only
  • 1.  Multiple dependency issues on a server that is almost identical to another working server.

    Posted Thu May 11, 2023 02:25 PM

    I have two vio server with identical packages installed.
    Once is working fine with DNF we are able to run dnf update and not see any dependency issues.  On the other server VIO3a it is giving us multiple dependency errors.  Any help on what things to check would be greatly appreciated. 

    # hostname
    vio1a
    # lslpp -l rpm.rte
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      rpm.rte                   4.15.1.3  COMMITTED  RPM Package Manager

    Path: /etc/objrepos
      rpm.rte                   4.15.1.3  COMMITTED  RPM Package Manager
    # rpm -qa | grep AIX-rpm
    AIX-rpm-7.2.5.103-10.ppc
    # oslevel -s
    7200-05-04-2220
    # dnf update
    Last metadata expiration check: 5:50:14 ago on Thu May 11 07:30:43 CDT 2023.
    Dependencies resolved.
    ========================================================================================================================
     Package                          Architecture        Version                      Repository                      Size
    ========================================================================================================================
    Installing:
     python3-gpg                      ppc                 1.13.1-100                   AIX_Toolbox                    744 k
         replacing  python3-gpgme.ppc 1.13.1-32_1
    Upgrading:
     dnf                              ppc                 4.2.17-32_50                 AIX_Toolbox_72                  14 k
     dnf-automatic                    ppc                 4.2.17-32_50                 AIX_Toolbox_72                  12 k
     dnf-data                         ppc                 4.2.17-32_50                 AIX_Toolbox_72                  24 k
     libdnf                           ppc                 0.39.1-32_51                 AIX_Toolbox_72                 2.3 M
     libsolv                          ppc                 0.7.9-32_51                  AIX_Toolbox_72                 672 k
     python3-dnf                      ppc                 4.2.17-32_50                 AIX_Toolbox_72                 193 k
     python3-hawkey                   ppc                 0.39.1-32_51                 AIX_Toolbox_72                 406 k
     python3-libdnf                   ppc                 0.39.1-32_51                 AIX_Toolbox_72                 2.2 M
     ca-certificates                  ppc                 2021.2.52-3                  AIX_Toolbox                    919 k
     expat                            ppc                 2.5.0-1                      AIX_Toolbox                    854 k
     libcomps                         ppc                 0.1.11-101                   AIX_Toolbox                    622 k
     libmodulemd                      ppc                 1.5.2-100                    AIX_Toolbox                    1.2 M
     librepo                          ppc                 1.11.0-101                   AIX_Toolbox                    441 k
     libsmartcols                     ppc                 2.34-100                     AIX_Toolbox                    614 k
     libxml2                          ppc                 2.10.3-1                     AIX_Toolbox                    4.6 M
     libzstd                          ppc                 1.5.2-1                      AIX_Toolbox                    1.5 M
     logrotate                        ppc                 3.20.1-1                     AIX_Toolbox                     69 k
     p11-kit                          ppc                 0.23.22-1                    AIX_Toolbox                    4.3 M
     p11-kit-tools                    ppc                 0.23.22-1                    AIX_Toolbox                    198 k
     python                           ppc                 2.7.18-4                     AIX_Toolbox                     22 M
     python3                          ppc                 3.7.15-2                     AIX_Toolbox                     42 M
     python3-libcomps                 ppc                 0.1.11-101                   AIX_Toolbox                    564 k
     python3-librepo                  ppc                 1.11.0-101                   AIX_Toolbox                    326 k
     sqlite                           ppc                 3.39.3-1                     AIX_Toolbox                    9.4 M
     zchunk-libs                      ppc                 1.1.4-102                    AIX_Toolbox                    824 k
     zlib                             ppc                 1.2.13-1                     AIX_Toolbox                    345 k
    Installing dependencies:
     check                            ppc                 0.13.0-1                     AIX_Toolbox                     93 k
     curl                             ppc                 7.86.0-1                     AIX_Toolbox                    1.7 M
     cyrus-sasl                       ppc                 2.1.28-1                     AIX_Toolbox                    1.2 M
     gmp                              ppc                 6.2.1-1                      AIX_Toolbox                    1.1 M
     gnupg2                           ppc                 2.2.35-1                     AIX_Toolbox                     12 M
     gnutls                           ppc                 3.7.2-1                      AIX_Toolbox                    5.5 M
     gpgme                            ppc                 1.13.1-100                   AIX_Toolbox                    518 k
     json-c                           ppc                 0.15-2                       AIX_Toolbox                    748 k
     krb5-libs                        ppc                 1.18.5-2                     AIX_Toolbox                     12 M
     libassuan                        ppc                 2.5.5-1                      AIX_Toolbox                    980 k
     libgcrypt                        ppc                 1.9.4-1                      AIX_Toolbox                    4.4 M
     libgpg-error                     ppc                 1.45-1                       AIX_Toolbox                    500 k
     libksba                          ppc                 1.6.2-1                      AIX_Toolbox                    1.3 M
     libnghttp2                       ppc                 1.46.0-1                     AIX_Toolbox                    303 k
     libssh2                          ppc                 1.10.0-2                     AIX_Toolbox                    1.0 M
     libtasn1                         ppc                 4.16.0-1                     AIX_Toolbox                    200 k
     nettle                           ppc                 3.7.3-1                      AIX_Toolbox                    2.6 M
     npth                             ppc                 1.5-1                        AIX_Toolbox                    220 k
     openldap                         ppc                 2.5.12-1                     AIX_Toolbox                    4.0 M

    Transaction Summary
    ========================================================================================================================
    Install  20 Packages
    Upgrade  26 Packages

    Total download size: 146 M
    Is this ok [y/N]: n
    Operation aborted.


    # hostname
    vio3a
    # lslpp -l rpm.rte
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      rpm.rte                   4.15.1.3  COMMITTED  RPM Package Manager

    Path: /etc/objrepos
      rpm.rte                   4.15.1.3  COMMITTED  RPM Package Manager
    # rpm -qa | grep AIX-rpm
    AIX-rpm-7.2.5.1-9.ppc
    # oslevel -s
    7200-05-02-2114

    Error:
     Problem 1: cannot install the best update candidate for package libdnf-0.39.1-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by libdnf-0.39.1-32_51.ppc
     Problem 2: cannot install the best update candidate for package librepo-1.11.0-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by librepo-1.11.0-101.ppc
     Problem 3: cannot install the best update candidate for package python-2.7.18-3.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by python-2.7.18-4.ppc
      - nothing provides libssl.a(libssl.so.1.1) needed by python-2.7.18-4.ppc
     Problem 4: cannot install the best update candidate for package python3-3.7.12-1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by python3-3.7.15-2.ppc
      - nothing provides libssl.a(libssl.so.1.1) needed by python3-3.7.15-2.ppc
     Problem 5: cannot install the best update candidate for package zchunk-libs-1.1.4-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by zchunk-libs-1.1.4-102.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by zchunk-libs-1.1.4-102.ppc
     Problem 6: package python3-librepo-1.11.0-101.ppc requires libzck.a(libzck.so.1), but none of the providers can be installed
      - cannot install the best update candidate for package python3-librepo-1.11.0-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by zchunk-libs-1.1.4-100.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by zchunk-libs-1.1.4-101.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by zchunk-libs-1.1.4-102.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by zchunk-libs-1.1.4-102.ppc
     Problem 7: package libsolv-0.7.9-32_51.ppc requires zchunk-libs >= 1.1.4-100, but none of the providers can be installed
      - cannot install the best update candidate for package libsolv-0.7.9-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by zchunk-libs-1.1.4-100.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by zchunk-libs-1.1.4-101.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by zchunk-libs-1.1.4-102.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by zchunk-libs-1.1.4-102.ppc
     Problem 8: package python3-libdnf-0.39.1-32_51.ppc requires libdnf = 0.39.1-32_51, but none of the providers can be installed
      - cannot install the best update candidate for package python3-libdnf-0.39.1-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by libdnf-0.39.1-32_51.ppc
     Problem 9: package python3-hawkey-0.39.1-32_51.ppc requires libdnf = 0.39.1-32_51, but none of the providers can be installed
      - cannot install the best update candidate for package python3-hawkey-0.39.1-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by libdnf-0.39.1-32_51.ppc
     Problem 10: package python3-dnf-4.2.17-32_50.ppc requires python3-hawkey >= 0.39.1-32_50, but none of the providers can be installed
      - package python3-hawkey-0.39.1-32_50.ppc requires libdnf = 0.39.1-32_50, but none of the providers can be installed
      - package python3-hawkey-0.39.1-32_51.ppc requires libdnf = 0.39.1-32_51, but none of the providers can be installed
      - cannot install the best update candidate for package python3-dnf-4.2.17-32_1.noarch
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by libdnf-0.39.1-32_50.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by libdnf-0.39.1-32_51.ppc
     Problem 11: package gpgme-1.13.1-100.ppc requires gnupg2 >= 2.2.23, but none of the providers can be installed
      - package python3-gpg-1.13.1-100.ppc requires libgpgme.a(libgpgme.so.11), but none of the providers can be installed
      - package python3-gpg-1.13.1-100.ppc requires gpgme = 1.13.1-100, but none of the providers can be installed
      - package gnupg2-2.2.23-1.ppc requires openldap >= 2.4.50, but none of the providers can be installed
      - package gnupg2-2.2.35-1.ppc requires openldap >= 2.4.50, but none of the providers can be installed
      - cannot install the best update candidate for package python3-gpgme-1.13.1-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by openldap-2.4.50-1.ppc
      - nothing provides libssl.a(libssl.so.1.0.2) needed by openldap-2.4.50-1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by openldap-2.4.56-1.ppc
      - nothing provides libssl.a(libssl.so.1.0.2) needed by openldap-2.4.56-1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by openldap-2.4.56-2.ppc
      - nothing provides libssl.a(libssl.so.1.0.2) needed by openldap-2.4.56-2.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by openldap-2.4.58-1.ppc
      - nothing provides libssl.a(libssl.so.1.0.2) needed by openldap-2.4.58-1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by openldap-2.4.58-2.ppc
      - nothing provides libssl.a(libssl.so.1.0.2) needed by openldap-2.4.58-2.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by openldap-2.4.58-3.ppc
      - nothing provides libssl.a(libssl.so.1.0.2) needed by openldap-2.4.58-3.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by openldap-2.4.58-4.ppc
      - nothing provides libssl.a(libssl.so.1.1) needed by openldap-2.4.58-4.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by openldap-2.5.12-1.ppc
      - nothing provides libssl.a(libssl.so.1.1) needed by openldap-2.5.12-1.ppc
     Problem 12: package python3-dnf-4.2.17-32_50.ppc requires python3-libdnf >= 0.39.1-32_50, but none of the providers can be installed
      - package dnf-4.2.17-32_50.ppc requires python3-dnf = 4.2.17-32_50, but none of the providers can be installed
      - package python3-libdnf-0.39.1-32_50.ppc requires libdnf = 0.39.1-32_50, but none of the providers can be installed
      - package python3-libdnf-0.39.1-32_51.ppc requires libdnf = 0.39.1-32_51, but none of the providers can be installed
      - cannot install the best update candidate for package dnf-4.2.17-32_1.noarch
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by libdnf-0.39.1-32_50.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by libdnf-0.39.1-32_51.ppc
     Problem 13: package libdnf-0.39.1-32_1.ppc requires libmodulemd.so, but none of the providers can be installed
      - cannot install both libmodulemd-1.5.2-100.ppc and libmodulemd-1.5.2-32_1.ppc
      - problem with installed package libdnf-0.39.1-32_1.ppc
      - cannot install the best update candidate for package libmodulemd-1.5.2-32_1.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by libdnf-0.39.1-32_50.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by libdnf-0.39.1-32_51.ppc
     Problem 14: package dnf-4.2.17-32_50.ppc requires python3-dnf = 4.2.17-32_50, but none of the providers can be installed
      - package python3-dnf-4.2.17-32_50.ppc requires python3-libdnf >= 0.39.1-32_50, but none of the providers can be installed
      - package dnf-automatic-4.2.17-32_50.ppc requires dnf = 4.2.17-32_50, but none of the providers can be installed
      - package python3-libdnf-0.39.1-32_50.ppc requires libdnf = 0.39.1-32_50, but none of the providers can be installed
      - package python3-libdnf-0.39.1-32_51.ppc requires libdnf = 0.39.1-32_51, but none of the providers can be installed
      - cannot install the best update candidate for package dnf-automatic-4.2.17-32_1.noarch
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by libdnf-0.39.1-32_50.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by libdnf-0.39.1-32_51.ppc
     Problem 15: package python3-dnf-plugins-core-4.0.16-32_50.ppc requires python3-dnf >= 4.2.17, but none of the providers can be installed
      - package python3-dnf-4.2.17-32_1.noarch requires dnf-data = 4.2.17-32_1, but none of the providers can be installed
      - package python3-dnf-4.2.17-32_50.ppc requires python3-libdnf >= 0.39.1-32_50, but none of the providers can be installed
      - cannot install both dnf-data-4.2.17-32_50.ppc and dnf-data-4.2.17-32_1.noarch
      - package python3-libdnf-0.39.1-32_50.ppc requires libdnf = 0.39.1-32_50, but none of the providers can be installed
      - package python3-libdnf-0.39.1-32_51.ppc requires libdnf = 0.39.1-32_51, but none of the providers can be installed
      - cannot install the best update candidate for package python3-dnf-plugins-core-4.0.16-32_50.ppc
      - cannot install the best update candidate for package dnf-data-4.2.17-32_1.noarch
      - nothing provides libcrypto.a(libcrypto.so.1.0.2) needed by libdnf-0.39.1-32_50.ppc
      - nothing provides libcrypto.a(libcrypto.so.1.1) needed by libdnf-0.39.1-32_51.ppc
    (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)



    ------------------------------
    Ken Foster
    ------------------------------


  • 2.  RE: Multiple dependency issues on a server that is almost identical to another working server.

    Posted Fri May 12, 2023 02:25 AM

    Looks like you do not have specific openssl installed.

    Or it is not part of AIX-rpm.

     

    Please verify if latest openssl is installed and if already installed then run 'updtvpkg' command to make sure it is part of AIX-rpm virtual package.

     

    Thanks,

     

    Sanket Rathi

     






  • 3.  RE: Multiple dependency issues on a server that is almost identical to another working server.

    Posted Fri May 12, 2023 03:38 AM

    libcrypto libraries are provided not by and RPM package, but by AIX fileset openssl.base:

    $ rpm -q --whatprovides 'libcrypto.a(libcrypto.so)'
    AIX-rpm-7.2.5.201-29.ppc

    $ lslpp -w /usr/lib/libcrypto.a
      File                                        Fileset               Type
      ----------------------------------------------------------------------------
      /usr/lib/libcrypto.a                        openssl.base          File

    $ ar -vt /usr/lib/libcrypto.a
    rwxr-xr-x     0/0     3069375 Feb 16 17:57 2023 libcrypto.so
    rwxr-xr-x     0/0     2186744 Feb 16 17:57 2023 libcrypto.so.0.9.8
    rwxr-xr-x     0/0     3069375 Feb 16 17:57 2023 libcrypto.so.1.0.0
    rwxr-xr-x     0/0     3069375 Feb 16 17:57 2023 libcrypto.so.1.0.2

    $ lslpp -Ou -l openssl.base
      Fileset                      Level  State      Description
      ----------------------------------------------------------------------------
    Path: /usr/lib/objrepos
      openssl.base            1.0.2.2106  COMMITTED  Open Secure Socket Layer

    I guess you need to upgrade AIX openssl.base fileset to version 1.1.0.x, but please first check what openssl.base version is installed. It is possible that 1.1 version is already installed but it is not reflected in AIX-rpm pseudopackage becaouse nobody ran "updvtpkg" after upgrading AIX filesets.



    ------------------------------
    Lech Szychowski
    ------------------------------



  • 4.  RE: Multiple dependency issues on a server that is almost identical to another working server.

    Posted Fri May 12, 2023 07:33 AM

    Thank you for the replies I was able to identify yesterday that the open SSL base package needed to be upgraded but I appreciate the confirmation. Thank you all.



    ------------------------------
    Ken Foster
    ------------------------------