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.  dnf library conflict

    Posted 02/23/26 03:33 PM
    Hi *,
    I am trying to install two older versions of python related files ( runtime and libraries ) but when I try to install either one, the other complains of conflict between the library being installed.  Is there anyway of having dnf ignore the conflict ? As a test I ran an rpm -Uvh with both filesets simultaneously ( I know, I know , you should not mix and match rpm and dnf fileset management) and was able to get the two installed.  Is a case of , dnf not having all the fucntionality of rpm, or trying to be more proper and structured with fileset but in doing so, hindering installation of filesets ?  Does anytone have this kind of mixed environment where there are just certain installs you have problems with and end up having such a patchwork dnf/rpm environment ?
    PR_PROD  # dnf install python-2.7.13-1.ppc   --nogpgcheck
    Last metadata expiration check: 0:36:13 ago on Mon Feb 23 14:32:55 2026.
    Dependencies resolved.
    =================================================================================================
     Package              Architecture      Version                  Repository                 Size
    =================================================================================================
    Installing:
     python               ppc               2.7.13-1                 AIX_Toolbox                20 M
     
    Transaction Summary
    =================================================================================================
    Install  1 Package
     
    Total size: 20 M
    Installed size: 72 M
    Is this ok [y/N]: y
    Downloading Packages:
    [SKIPPED] python-2.7.13-1.aix6.1.ppc.rpm: Already downloaded
    Running transaction check
    warning: RPM v3 packages are deprecated: python-2.7.13-1.ppc
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                                         1/1
      Installing       : python-2.7.13-1.ppc                                                     1/1
    warning: RPM v3 packages are deprecated: python-2.7.13-1.ppc
     
     
    Installed:
      python-2.7.13-1.ppc
     
    Complete!
    root@axeapszcig02:/usr/bin
    PR_PROD  # ls -al /opt/freeware/lib/libpython*
    -rw-r--r--    1 root     system      7100031 Oct 17 2017  /opt/freeware/lib/libpython2.7.a
    -r-xr-xr-x    1 root     system      3316123 Oct 17 2017  /opt/freeware/lib/libpython2.7.so*
    -rwxr-xr-x    1 root     system     59374905 Oct 14 02:13 /opt/freeware/lib/libpython3.12.a*
    -rwxr-xr-x    1 root     system     38037046 Nov 18 00:47 /opt/freeware/lib/libpython3.9.a*
    root@axeapszcig02:/usr/bin
    PR_PROD  # cp /opt/freeware/lib/libpython2.6.a /tmp/
    root@axeapszcig02:/usr/bin
    PR_PROD  # dnf install python-libs-2.7.13-1.ppc  --nogpgcheck
    Last metadata expiration check: 0:38:53 ago on Mon Feb 23 14:32:55 2026.
    Dependencies resolved.
    =================================================================================================
     Package                 Architecture    Version               Repository                   Size
    =================================================================================================
    Installing:
     python-libs             ppc             2.7.13-1              AIX_Toolbox_BNC             5.6 M
     
    Transaction Summary
    =================================================================================================
    Install  1 Package
     
    Total size: 5.6 M
    Installed size: 18 M
    Is this ok [y/N]: ^COperation aborted.
    root@axeapszcig02:/usr/bin
    PR_PROD  # dnf install python-libs-2.7.13-1.ppc  --nogpgcheck
    Last metadata expiration check: 0:38:57 ago on Mon Feb 23 14:32:55 2026.
    Dependencies resolved.
    =================================================================================================
     Package                 Architecture    Version               Repository                   Size
    =================================================================================================
    Installing:
     python-libs             ppc             2.7.13-1              AIX_Toolbox_BNC             5.6 M
     
    Transaction Summary
    =================================================================================================
    Install  1 Package
     
    Total size: 5.6 M
    Installed size: 18 M
    Is this ok [y/N]: y
    Downloading Packages:
    [SKIPPED] python-libs-2.7.13-1.aix6.1.ppc.rpm: Already downloaded
    Running transaction check
    warning: RPM v3 packages are deprecated: python-libs-2.7.13-1.ppc
    Transaction check succeeded.
    Running transaction test
    Error: Transaction test error:
      file /opt/freeware/lib/libpython2.7.a from install of python-libs-2.7.13-1.ppc conflicts with file from package python-2.7.13-1.ppc
      file /opt/freeware/lib/libpython2.7.so from install of python-libs-2.7.13-1.ppc conflicts with file from package python-2.7.13-1.ppc
      file /opt/freeware/lib64/libpython2.7.a from install of python-libs-2.7.13-1.ppc conflicts with file from package python-2.7.13-1.ppc
      file /opt/freeware/lib64/libpython2.7.so from install of python-libs-2.7.13-1.ppc conflicts with file from package python-2.7.13-1.ppc


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