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


#Servers
#Opensource
 View Only
  • 1.  tcl and tk dependancy errors in DNF

    Posted 04/30/26 08:23 AM

    hello, 

    we see since today a specific issue with tcl an tk installed

    root@gorgel-adm(/root)# dnf update
    Last metadata expiration check: 0:07:13 ago on Thu Apr 30 14:08:37 2026.
    Error:
     Problem: package tk-8.6.13-1.ppc from @System requires tcl = 8.6.13, but none of the providers can be installed
      - cannot install both tcl-8.6.17-1.ppc from AIX_Toolbox and tcl-8.6.13-1.ppc from @System
      - cannot install both tcl-8.6.17-1.ppc from AIX_Toolbox and tcl-8.6.13-1.ppc from AIX_Toolbox
      - cannot install the best update candidate for package tk-8.6.13-1.ppc
      - cannot install the best update candidate for package tcl-8.6.13-1.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)

    if remove both tcl and tk and try to re-install 

    dnf install tcl tk
    Last metadata expiration check: 0:11:19 ago on Thu Apr 30 14:08:37 2026.
    Error:
     Problem: package tk-8.6.13-1.ppc from AIX_Toolbox requires tcl = 8.6.13, but none of the providers can be installed
      - cannot install both tcl-8.6.17-1.ppc from AIX_Toolbox and tcl-8.6.13-1.ppc from AIX_Toolbox
      - cannot install the best candidate for the job
    (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)

    If i have tcl installed, and try to install tk  we see a downgrade attempt:

    dnf install tk
    Last metadata expiration check: 0:12:45 ago on Thu Apr 30 14:08:37 2026.
    Dependencies resolved.
    =========================================================================================================================================================================================================================
     Package                                             Architecture                                 Version                                                     Repository                                            Size
    =========================================================================================================================================================================================================================
    Installing:
     tk                                                  ppc                                          8.6.13-1                                                    AIX_Toolbox                                          2.6 M
    Installing dependencies:
     cairo                                               ppc                                          1.18.0-1waixX11                                             AIX_Toolbox                                          4.4 M
     fontconfig                                          ppc                                          2.14.2-1                                                    AIX_Toolbox                                          773 k
     freetype2                                           ppc                                          2.13.3-1                                                    AIX_Toolbox                                          2.0 M
     harfbuzz                                            ppc                                          12.3.0-1                                                    AIX_Toolbox                                           16 M
     libXft                                              ppc                                          2.3.2-5waixX11                                              AIX_Toolbox                                          723 k
     libXrender                                          ppc                                          0.9.8-3waixX11                                              AIX_Toolbox                                          225 k
     libicu                                              ppc                                          73.2-1                                                      AIX_Toolbox                                           32 M
     libpng                                              ppc                                          1.6.53-1                                                    AIX_Toolbox                                          498 k
     lzo                                                 ppc                                          2.10-3                                                      AIX_Toolbox                                          140 k
     pixman                                              ppc                                          0.42.2-1                                                    AIX_Toolbox                                          1.6 M
    Downgrading:
     tcl                                                 ppc                                          8.6.13-1                                                    AIX_Toolbox                                          4.9 M
     
    Transaction Summary
    =========================================================================================================================================================================================================================
    Install    11 Packages
    Downgrade   1 Package
     
    Total size: 66 M
    Is this ok [y/N]:

    any clues how to solve this issue  ? 

    kind regards,

    Leo Becking 



    ------------------------------
    Leo Becking
    ------------------------------


  • 2.  RE: tcl and tk dependancy errors in DNF

    Posted 05/01/26 07:19 AM

    Hi,

    I was surprised when I saw the same errors too yesterday  when I tried to run an dnf update because last time  I ran it  ( maybe 2 months ago ) it came back clean, so it seems that something  has changed the way the version dependency between tcl/tk is being handled.  As a test to get a clean dnf update  I just updated both versions to one  that would not throw an error and put the two in my  exclude line in my dnf.conf.   But seeing this is not unique to my environment, I will follow this thread to see if someone has a permanent solution or an explanation why this is happening all of a sudden.

    Richard



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



  • 3.  RE: tcl and tk dependancy errors in DNF

    Posted 05/01/26 07:58 AM

    Tcl and Tk should be always updated together in AIX Toolbox. It didn't happen that way in the recent update. Only Tcl was updated but not Tk. 
    We will update Tk as soon as possible. In the meanwhile, the workaround is to exclude Tcl during dnf update from the user side.



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



  • 4.  RE: tcl and tk dependancy errors in DNF

    Posted 05/06/26 09:17 AM

    tk 8.6.17 is now available in AIX Toolbox. This fixes the dnf update issue. 



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



  • 5.  RE: tcl and tk dependancy errors in DNF

    Posted 05/06/26 09:54 AM

    Thanks. I synched up the repository and was able to perform a  dnf update successfully and it updated tcl and tk 8.6.17 .

    Richard 



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