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.  Error while DNF Update

    Posted Thu October 16, 2025 02:20 AM

    Dear Team

    I am getting below error while running dnf update

    @Aditya Kamath  @Ranjit Ranjan

    root@AIXHost:/>>/opt/freeware/bin/dnf update
    Local AIX generic repository                                                                                                                                   25 MB/s | 1.4 MB     00:00
    Local AIX noarch repository                                                                                                                                    16 MB/s | 595 kB     00:00
    Local AIX 7.3 specific repository                                                                                                                             7.3 MB/s | 123 kB     00:00
    Error:
     Problem 1: package freetype2-2.12.1-1.ppc requires libpng16.a(libpng16.so.16), but none of the providers can be installed
      - cannot install both libpng-1.6.42-1.ppc and libpng-2:1.2.8-6.ppc
      - cannot install the best update candidate for package freetype2-2.1.7-5.ppc
      - problem with installed package libpng-2:1.2.8-6.ppc
     Problem 2: package rrdtool-1.8.0-1.ppc requires libpng.a(libpng16.so.16), but none of the providers can be installed
      - cannot install both libpng-1.6.42-1.ppc and libpng-2:1.2.8-6.ppc
      - cannot install the best update candidate for package rrdtool-1.2.13-1.ppc
      - cannot install the best update candidate for package libpng-2:1.2.8-6.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@AIXHost:/>>

    Thanks

    Shahir



    ------------------------------
    Shahir Ali FR
    ------------------------------


  • 2.  RE: Error while DNF Update

    Posted Fri October 17, 2025 12:41 AM

    Any update for this please?

    @Aditya Kamath  @Ranjit Ranjan

    Thanks



    ------------------------------
    Shahir Ali FR
    ------------------------------



  • 3.  RE: Error while DNF Update

    Posted Fri October 17, 2025 01:42 AM

    Hi Shahir,

    Installed libpng version 1.2.8  is very old . We need to cleanup this and then try to install latest one available.

    Try cleaning up using 'dnf erase libpng' and see if that works. 

    In case in you see any error using 'dnf erase', you can remove it using the approach we had discussed in another thread 'rpm -e <pkg>'. But then you need to cleanup all the dependency (recursively )  also manually . Below command will give you all the installed pkg which depends on libpng . 

    # rpm -q --whatrequires libpng

    After finding the dependency, first remove all the dependency before removing libpng 

    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------



  • 4.  RE: Error while DNF Update

    Posted Thu October 23, 2025 10:45 PM

    Hi Ranjit,

    It got fixed by this method.

    Thank you Ranjit @Ranjit Ranjan

    Shahir



    ------------------------------
    Shahir Ali FR
    ------------------------------