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
Expand all | Collapse all

DNF Update Self.... (best way ?) (AIX 7.2)

  • 1.  DNF Update Self.... (best way ?) (AIX 7.2)

    Posted Thu June 29, 2023 04:40 AM
    Edited by Tomas Michal Thu June 29, 2023 04:47 AM

    Hello,

    what is the best way to update dnf self ? 
     
    -->
     dnf check-update
    Last metadata expiration check: 0:21:41 ago on Thu Jun 29 09:55:15 DFT 2023.
     
    createrepo_c.ppc                                                                                     0.16.0-32_2                                                                          AIX_Toolbox_72    
    createrepo_c-libs.ppc                                                                                0.16.0-32_2                                                                          AIX_Toolbox_72    
    dnf.ppc                                                                                              4.2.17-32_51                                                                         AIX_Toolbox_72    
    dnf-automatic.ppc                                                                                    4.2.17-32_51                                                                         AIX_Toolbox_72    
    dnf-data.ppc                                                                                         4.2.17-32_51                                                                         AIX_Toolbox_72    
    dnf-utils.ppc                                                                                        4.0.16-32_51                                                                         AIX_Toolbox_72  
    -->
    -->
    Problem: The operation would result in removing the following protected packages: dnf
    -->

    Due to the problems dnf also does not want to download the packages.

    I Try download with "dnf download dnf" but also does not work. (for manually install with rpm)...

    dnf download dnf
    No such command: download. Please use /usr/local/bin/dnf --help
    It could be a DNF plugin command, try: "dnf install 'dnf-command(download)'"

    The Repo Update:

    dnf -y repository-packages AIX_Toolbox_72 upgrade --downloadonly

    have many errors:

    Last metadata expiration check: 0:51:41 ago on Thu Jun 29 09:55:15 DFT 2023.
    Error: 
     Problem 1: cannot install the best update candidate for package createrepo_c-libs-0.16.0-32_1.ppc
      - nothing provides librpm.a(librpm.so.9) needed by createrepo_c-libs-0.16.0-32_2.ppc
      - nothing provides librpmio.a(librpmio.so.9) needed by createrepo_c-libs-0.16.0-32_2.ppc
     Problem 2: cannot install the best update candidate for package libdnf-0.39.1-32_51.ppc
      - nothing provides librpm.a(librpm.so.9) needed by libdnf-0.39.1-32_52.ppc
      - nothing provides librpmio.a(librpmio.so.9) needed by libdnf-0.39.1-32_52.ppc
     Problem 3: cannot install the best update candidate for package libsolv-0.7.9-32_51.ppc

    Do you have any advice for me here ?

    Thank you..

    Tomas



    ------------------------------
    Tomas Michal
    ------------------------------


    #AIXOpenSource


  • 2.  RE: DNF Update Self.... (best way ?) (AIX 7.2)

    Posted Thu June 29, 2023 05:43 AM

    Ok.... Self Healing :-)

    after i Update the rpm.rte --> rpm.rte.4.15.1.1010

    and 

    /usr/sbin/updtvpkg
    rpm --rebuilddb

    the dnf Update now successfully ...

    Many thanks.. more infos i found in this forum to help..



    ------------------------------
    Tomas Michal
    ------------------------------