Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  dnf issue when trying to update Python

    Posted 23 hours ago

    Hi *,

    After having installed dnf , I am receving an error  message regarding python and not being able to update it as it sees a conflict between the version installed with the dnf bundle tar and the ToolBox :

    root@axaapszwas01:/tmp
    TI  # dnf update
    Last metadata expiration check: 0:17:06 ago on Fri Jan  9 15:13:09 2026.
    Error:
     Problem: cannot install both python3.12-3.12.11-2.ppc from AIX_Toolbox and python3.12-3.12.11-0.ppc from @System
      - package python3-3.12.11-0.ppc from @System requires python3.12 = 3.12.11-0, but none of the providers can be installed
      - cannot install the best update candidate for package python3.12-3.12.11-0.ppc
      - problem with installed package python3-3.12.11-0.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)
    root@axaapszwas01:/tmp
    TI  # dnf update --nobest
    Last metadata expiration check: 0:17:13 ago on Fri Jan  9 15:13:09 2026.
    Dependencies resolved.
     
     Problem: cannot install both python3.12-3.12.11-2.ppc from AIX_Toolbox and python3.12-3.12.11-0.ppc from @System
      - package python3-3.12.11-0.ppc from @System requires python3.12 = 3.12.11-0, but none of the providers can be installed
      - cannot install the best update candidate for package python3.12-3.12.11-0.ppc
      - problem with installed package python3-3.12.11-0.ppc
    =================================================================================================
     Package                 Architecture     Version                 Repository                Size
    =================================================================================================
    Skipping packages with conflicts:
    (add '--best --allowerasing' to command line to force their upgrade):
     python3.12              ppc              3.12.11-2               AIX_Toolbox               51 M
     
    Transaction Summary
    =================================================================================================
    Skip  1 Package
     
    Nothing to do.
    Complete!
    root@axaapszwas01:/tmp
    TI  #
    If I try and use --nobest, It wont update because it complains about :
    Problem: cannot install both python3.12-3.12.11-2.ppc from AIX_Toolbox and python3.12-3.12.11-0.ppc from @System
    So if dnf is using the System version of ths python version, how can I get off off it and use the ToolBox install version  and have a clean dnf update be returned once python is updated ?
    Any suggestions greatly appreciated ,
    Richard



    ------------------------------
    Richard Mochnacewski
    ------------------------------


  • 2.  RE: dnf issue when trying to update Python

    Posted 8 hours ago

    Hi Richard,

       Could you please provide the output of,

       1. cat /opt/freeware/etc/dnf/dnf.conf
       2. rpm -qa 



    ------------------------------
    Parth Patel
    ------------------------------



  • 3.  RE: dnf issue when trying to update Python

    Posted 2 hours ago

    Hi Parth,

    Here is the output. I have another server that I tried to install dnf and then run  update and had the same error . I then followed the DestroyRPMs cleanup freeware on the server and installed dnf and the same issue. 

    We have a daily sync of the repository running and configured on two NIM servers depending on the site the server is located .

    root@axaapszwas01:/root
    TI  # rpm -qa
    gpg-pubkey-8a8d4582-641b47dc
    gpg-pubkey-41eea8e0-6800ac55
    libmodulemd-2.15.2-64_1.ppc
    zchunk-libs-1.5.2-64_1.ppc
    librepo-1.20.0-64_1.ppc
    libsmartcols-2.41-64_1.ppc
    libsolv-0.7.35-64_1.ppc
    p11-kit-0.25.10-0.ppc
    p11-kit-tools-0.25.10-0.ppc
    libcomps-0.1.22-64_1.ppc
    zlib-1.2.13-1.ppc
    bzip2-1.0.8-2.ppc
    m4-1.4.19-1.ppc
    ca-certificates-2024.2.66-2.ppc
    libXrender-0.9.8-3waixX11.ppc
    libXft-2.3.2-5waixX11.ppc
    libgcc13-13.3.0-1.ppc
    libgcc-13-2.ppc
    libstdc++13-13.3.0-1.ppc
    ncurses-6.5-1.ppc
    readline-8.2-1.ppc
    libgomp13-13.3.0-1.ppc
    libstdc++-13-2.ppc
    libgomp-13-2.ppc
    libpng-1.6.42-1.ppc
    libffi-3.4.4-2.ppc
    expat-2.6.3-1.ppc
    xz-libs-5.8.1-1.ppc
    pixman-0.42.2-1.ppc
    pcre2-10.45-2.ppc
    libxml2-2.14.4-1.ppc
    glib2-2.83.2-1.ppc
    libunistring-1.1-1.ppc
    info-7.2-1.ppc
    libiconv-1.17-1.ppc
    libtextstyle-0.21-2.ppc
    gettext-0.21-2.ppc
    gdbm-1.23-1.ppc
    pcre-8.44-2.ppc
    lzo-2.10-3.ppc
    fontconfig-2.14.2-1.ppc
    freetype2-2.13.3-1.ppc
    cairo-1.18.0-1waixX11.ppc
    harfbuzz-7.1.0-1.ppc
    db-5.3.28-1.ppc
    perl-5.38.2-1.ppc
    grep-3.7-2.ppc
    popt-1.19-1.ppc
    tcl-8.6.13-1.ppc
    lz4-1.9.4-1.ppc
    libssh2-1.11.1-1.ppc
    gmp-6.3.0-1.ppc
    cyrus-sasl-2.1.28-1.ppc
    openldap-2.5.16-3.ppc
    python3.12-3.12.11-0.ppc
    python3-3.12.11-0.ppc
    python3.12-gpg-1.24.3-64_1.ppc
    python3.12-libcomps-0.1.22-64_1.ppc
    rpm-python3.12-4.15.1-64_6.ppc
    python3.12-librepo-1.20.0-64_1.ppc
    zstd-1.5.7-64_1.ppc
    libzstd-1.5.7-64_1.ppc
    gnupg2-2.4.8-0.ppc
    rpm-python3-4.15.1-64_6.ppc
    libdnf-0.74.0-64_3.ppc
    python3.12-libdnf-0.74.0-64_3.ppc
    python3.12-hawkey-0.74.0-64_3.ppc
    dnf-data-4.23.0-64_1.noarch
    python3.12-dnf-4.23.0-64_1.noarch
    python3-dnf-4.23.0-64_1.noarch
    dnf-4.23.0-64_1.noarch
    dnf-automatic-4.23.0-64_1.noarch
    python3-hawkey-0.74.0-64_3.ppc
    python3-libdnf-0.74.0-64_3.ppc
    python3-librepo-1.20.0-64_1.ppc
    python3-libcomps-0.1.22-64_1.ppc
    python3-gpg-1.24.3-64_1.ppc
    pigz-2.7-1.ppc
    AIX-rpm-7.3.2.3-31.ppc
    python-2.7.13-1.ppc
    sqlite-3.49.2-2.ppc
    root@axaapszwas01:/root
    TI  # cat /opt/freeware/etc/dnf/dnf.conf
    [main]
    cachedir=/var/cache/dnf
    keepcache=1
    debuglevel=2
    logfile=/var/log/dnf.log
    obsoletes=1
    plugins=1
    gpgcheck=1
    installonly_limit=3
    clean_requirements_on_remove=True
    best=True
    skip_if_unavailable=True
     
    [AIX_Toolbox]
    name=AIX generic repository
    baseurl=http://axpmgbnnim51:4901/ToolBox//RPMS/ppc/
    enabled=1
    gpgkey=file:///opt/freeware/etc/dnf/RPM-GPG-KEY-IBM-AIX-Toolbox
    gpgcheck=1
     
    [AIX_Toolbox_noarch]
    name=AIX noarch repository
    baseurl=http://axpmgbnnim51:4901/ToolBox//RPMS/noarch/
    enabled=1
    gpgkey=file:///opt/freeware/etc/dnf/RPM-GPG-KEY-IBM-AIX-Toolbox
    gpgcheck=1
     
    [AIX_Toolbox_73]
    name=AIX 7.3 specific repository
    baseurl=http://axpmgbnnim51:4901/ToolBox//RPMS/ppc-7.3/
    enabled=1
    gpgkey=file:///opt/freeware/etc/dnf/RPM-GPG-KEY-IBM-AIX-Toolbox
    gpgcheck=1
     
    [AIX_Toolbox_72]
    name=AIX 7.2 specific repository
    baseurl=http://axpmgbnnim51:4901/ToolBox//RPMS/ppc-7.2/
    enabled=0
    gpgcheck=1
     
    [AIX_Toolbox_71]
    name=AIX 7.1 specific repository
    baseurl=http://axpmgbnnim51:4901/ToolBox//RPMS/ppc-7.1/
    enabled=0
    gpgcheck=1
     
    [AIX_Toolbox_61]
    name=AIX 6.1 specific repository
    baseurl=http://axpmgbnnim51:4901/ToolBox//RPMS/ppc-6.1/
    enabled=0
    gpgcheck=1
     
     
    root@axaapszwas01:/root
    TI  #



    ------------------------------
    Richard Mochnacewski
    ------------------------------