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 update fails

    Posted 15 hours ago

    the usual dnf update fails with the following alas the  complained file exists...make no sense to me

    root@aixtestlpar01: /root # file /opt/freeware/libexec/python3.12_32
    /opt/freeware/libexec/python3.12_32: executable (RISC System/6000) or object module not stripped

    aixtestlpar01:root] /root > b
    root@aixtestlpar01: /root # dnf update
    AIX generic repository                                                                                                                                                                                       607 kB/s | 1.5 kB     00:00
    AIX noarch repository                                                                                                                                                                                        592 kB/s | 1.5 kB     00:00
    AIX 7.3 specific repository                                                                                                                                                                                  468 kB/s | 1.5 kB     00:00
    ITSV generic repository                                                                                                                                                                                      517 kB/s | 1.5 kB     00:00
    ITSV noarch repository                                                                                                                                                                                       440 kB/s | 1.5 kB     00:00
    ITSV AIX 7.3 specific repository                                                                                                                                                                             575 kB/s | 1.5 kB     00:00
    Error:
     Problem 1: package python3.12-3.12.13-1.ppc from AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
      - cannot install both python3.12-3.12.13-1.ppc from AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
      - cannot install the best update candidate for package python3.12-3.12.12-1.ppc
     Problem 2: cannot install both python3.12-3.12.13-1.ppc from AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
      - package python3.12-devel-3.12.13-1.ppc from AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
      - package python3-3.12.13-1.ppc from AIX_Toolbox requires python3.12 = 3.12.13, but none of the providers can be installed
      - cannot install the best update candidate for package python3.12-devel-3.12.12-1.ppc
      - cannot install the best update candidate for package python3-3.12.12-1.ppc
     Problem 3: cannot install both python3.12-3.12.13-1.ppc from AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
      - package python3.12-idle-3.12.13-1.ppc from AIX_Toolbox requires python3.12 = 3.12.13-1, but none of the providers can be installed
      - package python3.12-idle-3.12.13-1.ppc from AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
      - cannot install the best update candidate for package python3.12-idle-3.12.12-1.ppc
     Problem 4: cannot install both python3.12-3.12.13-1.ppc from AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
      - package python3.12-devel-3.12.13-1.ppc from AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
      - package python3.12-test-3.12.13-1.ppc from AIX_Toolbox requires python3.12 = 3.12.13-1, but none of the providers can be installed
      - package python3-devel-3.12.13-1.ppc from AIX_Toolbox requires python3.12-devel = 3.12.13, but none of the providers can be installed
      - cannot install the best update candidate for package python3.12-test-3.12.12-1.ppc
      - cannot install the best update candidate for package python3-devel-3.12.12-1.ppc
     Problem 5: cannot install both python3.12-3.12.13-1.ppc from AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
      - package python3.12-idle-3.12.13-1.ppc from AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
      - package python3.12-tkinter-3.12.13-1.ppc from AIX_Toolbox requires python3.12 = 3.12.13-1, but none of the providers can be installed
      - package python3-idle-3.12.13-1.ppc from AIX_Toolbox requires python3.12-idle = 3.12.13, but none of the providers can be installed
      - cannot install the best update candidate for package python3.12-tkinter-3.12.12-1.ppc
      - cannot install the best update candidate for package python3-idle-3.12.12-1.ppc
     Problem 6: package python3.12-3.12.13-1.ppc from AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
      - cannot install both python3.12-3.12.13-1.ppc from AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
      - package python3-3.12.13-1.ppc from AIX_Toolbox requires python3.12 = 3.12.13, but none of the providers can be installed
      - package python3-test-3.12.13-1.ppc from AIX_Toolbox requires python3 = 3.12.13-1, but none of the providers can be installed
      - cannot install the best update candidate for package python3-test-3.12.12-1.ppc
     Problem 7: package python3.12-3.12.13-1.ppc from AIX_Toolbox requires /opt/freeware/libexec/python3.12_32, but none of the providers can be installed
      - cannot install both python3.12-3.12.13-1.ppc from AIX_Toolbox and python3.12-3.12.12-1.ppc from @System
      - package python3-3.12.13-1.ppc from AIX_Toolbox requires python3.12 = 3.12.13, but none of the providers can be installed
      - package python3-tkinter-3.12.13-1.ppc from AIX_Toolbox requires python3 = 3.12.13-1, but none of the providers can be installed
      - cannot install the best update candidate for package python3-tkinter-3.12.12-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)


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


  • 2.  RE: dnf update fails

    Posted 14 hours ago

    I think your dnf.conf file is missing the below line under main stanza. 
    "optional_metadata_types=filelists" 

    dnf-data rpm's post install  script is supposed to add that.

    > rpm -q --scripts dnf-data
    .....
    ......
        /usr/bin/grep "optional_metadata_types\=filelists" $dnf_conf > /dev/null 2>&1
        if [ $? -ne 0 ]
        then
            /usr/bin/perl -i -pe "BEGIN{undef $/;} s/^clean_requirements_on_remove=True$/clean_requirements_on_remove=True\noptional_metadata_types\=filelists/dgm" $dnf_conf
        fi 
    fi



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



  • 3.  RE: dnf update fails

    Posted 13 hours ago
    Edited by C- -T 13 hours ago

    you're right...line is missing from our template...thank you!



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