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.  dnf update fails because of libunwind

    Posted Tue September 03, 2024 04:51 AM

    Hello Team,

    Running dnf update fails with the following message:
    "Error:
     Problem: cannot install the best update candidate for package python3.9-cryptography-3.4.7-5.ppc
      - nothing provides libunwind.a(libunwind.so.1) needed by python3.9-cryptography-43.0.0-1.ppc
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)"

    Specs of the system:
    AIX LPAR on Power9 hardware
    # oslevel -s
    7200-05-07-2346
    # dnf list installed | grep python3.9
    python3.9.ppc                       3.9.19-1           @AIX_Toolbox
    python3.9-cffi.ppc                  1.13.2-2           @AIX_Toolbox
    python3.9-cryptography.ppc          3.4.7-5            @AIX_Toolbox
    python3.9-dateutil.noarch           2.8.2-1            @AIX_Toolbox_noarch
    python3.9-dnf.ppc                   4.2.17-32_51       @AIX_Toolbox_72
    python3.9-dnf-plugin-migrate.ppc    4.0.16-32_52       @AIX_Toolbox_72
    python3.9-dnf-plugins-core.ppc      4.0.16-32_52       @AIX_Toolbox_72
    python3.9-gpg.ppc                   1.13.1-101         @AIX_Toolbox
    python3.9-hawkey.ppc                0.39.1-32_52       @AIX_Toolbox_72
    python3.9-jinja2.noarch             3.1.4-1            @AIX_Toolbox_noarch
    python3.9-libcomps.ppc              0.1.15-101         @AIX_Toolbox
    python3.9-libdnf.ppc                0.39.1-32_52       @AIX_Toolbox_72
    python3.9-librepo.ppc               1.11.0-103         @AIX_Toolbox
    python3.9-markupsafe.ppc            2.1.2-1            @AIX_Toolbox
    python3.9-packaging.noarch          23.1-1             @AIX_Toolbox_noarch
    python3.9-pycparser.noarch          2.19-2             @AIX_Toolbox_noarch
    python3.9-pyyaml.ppc                5.4.1.1-2          @AIX_Toolbox
    python3.9-resolvelib.noarch         0.5.4-1            @AIX_Toolbox_noarch
    python3.9-six.noarch                1.13.0-2           @System
    rpm-python3.9.ppc                   4.15.1-32_2        @System

    I guess the python3.9-cryptography.ppc is the culprit, being a AIX 5.2 version. But removing that installation introduces a lot of chaos.

    # yum remove python3.9-cryptography.ppc
    Dependencies resolved.
    ========================================================================================================================================================================================================
     Package                                                 Architecture                            Version                                     Repository                                            Size
    ========================================================================================================================================================================================================
    Removing:
     python3.9-cryptography                                  ppc                                     3.4.7-5                                     @AIX_Toolbox                                         4.1 M
    Removing dependent packages:
     ansible                                                 noarch                                  7.2.0-1                                     @AIX_Toolbox_noarch                                  294 M
    Removing unused dependencies:
     ansible-core                                            noarch                                  2.14.13-1                                   @AIX_Toolbox_noarch                                   12 M
     python3.9-cffi                                          ppc                                     1.13.2-2                                    @AIX_Toolbox                                         1.7 M
     python3.9-jinja2                                        noarch                                  3.1.4-1                                     @AIX_Toolbox_noarch                                  900 k
     python3.9-markupsafe                                    ppc                                     2.1.2-1                                     @AIX_Toolbox                                          81 k
     python3.9-packaging                                     noarch                                  23.1-1                                      @AIX_Toolbox_noarch                                  274 k
     python3.9-pycparser                                     noarch                                  2.19-2                                      @AIX_Toolbox_noarch                                  985 k
     python3.9-pyyaml                                        ppc                                     5.4.1.1-2                                   @AIX_Toolbox                                         2.6 M
     python3.9-resolvelib                                    noarch                                  0.5.4-1                                     @AIX_Toolbox_noarch                                   65 k

    Transaction Summary
    ========================================================================================================================================================================================================
    Remove  10 Packages

    Freed space: 316 M
    Is this ok [y/N]: N

    Can you please help?

    Kind regards,

    Philip.



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


  • 2.  RE: dnf update fails because of libunwind

    Posted Tue September 03, 2024 05:02 AM

    did you even read this?

    about new python cryptography package



    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 3.  RE: dnf update fails because of libunwind

    Posted Mon October 07, 2024 08:27 AM
    Edited by SANGAMESH MALLAYYA Mon October 21, 2024 05:53 AM

    Thank you so much for the link.



    ------------------------------
    Mason Russell
    ------------------------------



  • 4.  RE: dnf update fails because of libunwind

    Posted Tue September 03, 2024 05:51 AM
    Edited by Aditya Kamath Tue September 03, 2024 05:51 AM

    @Philip Krab

    We can do one thing. Something like these commands below. Please lock cryptography version since you are not having libunwind.

    Then "dnf update" can be tried. It worked for me. 

    # dnf versionlock python3-cryptography python3.9-cryptography
    Last metadata expiration check: 0:03:18 ago on Tue Sep  3 04:42:25 CDT 2024.
    Adding versionlock on: python3.9-cryptography-0:3.4.7-5.*
    Adding versionlock on: python3-cryptography-0:3.4.7-5.*
     
    # dnf update
    Last metadata expiration check: 0:03:27 ago on Tue Sep  3 04:42:25 CDT 2024.
    Dependencies resolved.
    =======================================================================================================================================================
     Package                               Architecture                 Version                              Repository                               Size
    =======================================================================================================================================================
    Upgrading:
     clamav                                ppc                          1:1.0.6-1                            AIX_Toolbox_72                           38 M
     clamav-devel                          ppc                          1:1.0.6-1                            AIX_Toolbox_72                           24 k
     
    Transaction Summary
    =======================================================================================================================================================
    Upgrade  2 Packages
     
    Total download size: 38 M
    Is this ok [y/N]:



    ------------------------------
    Aditya Kamath
    ------------------------------



  • 5.  RE: dnf update fails because of libunwind

    Posted Tue September 03, 2024 05:53 AM

    This is if you do not want to install libunwind and update cryptography and update everything else.



    ------------------------------
    Aditya Kamath
    ------------------------------



  • 6.  RE: dnf update fails because of libunwind

    Posted Wed September 04, 2024 03:38 AM
    Edited by Philip Krab Wed September 04, 2024 05:32 AM

    Thanks for the reply.

    Versionlock did the magic



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



  • 7.  RE: dnf update fails because of libunwind

    Posted Wed September 04, 2024 05:27 AM

    As C-T mentioned, you can see the link below and install libunwind fileset. Post that you will be able to install the RPMS.



    https://community.ibm.com/community/user/power/discussion/regarding-clamav-and-cryptography-updates?ReturnUrl=%2fcommunity%2fuser%2fpower%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d10c1d831-47ee-4d92-a138-b03f7896f7c9



    ------------------------------
    Aditya Kamath
    ------------------------------