AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  AIX7.3 dnf update fails

    Posted Tue September 19, 2023 01:16 AM

    Please help me to resolve this error of missing librpm files. I do see those files in the system.

    # /opt/freeware/bin/dnf update
    Last metadata expiration check: 11:02:05 ago on Mon Sep 18 12:51:08 CDT 2023.
    Error:
     Problem 1: cannot install the best update candidate for package libdnf-0.39.1-64_51.ppc
      - nothing provides librpm.a(librpm.so.9) needed by libdnf-0.39.1-64_52.ppc
      - nothing provides librpmio.a(librpmio.so.9) needed by libdnf-0.39.1-64_52.ppc
     Problem 2: cannot install the best update candidate for package libsolv-0.7.9-64_50.ppc
      - nothing provides librpm.a(librpm.so.9) needed by libsolv-0.7.9-64_52.ppc
      - nothing provides librpmio.a(librpmio.so.9) needed by libsolv-0.7.9-64_52.ppc
     Problem 3: package rpm-python3-4.15.1-64_4.ppc requires rpm-python3.9 = 4.15.1-64_4, but none of the providers can be installed
      - cannot install the best update candidate for package rpm-python3-4.15.1-64_1.ppc
      - nothing provides librpm.a(librpm.so.9) needed by rpm-python3.9-4.15.1-64_4.ppc
      - nothing provides librpmio.a(librpmio.so.9) needed by rpm-python3.9-4.15.1-64_4.ppc
      - nothing provides librpmbuild.a(librpmbuild.so.9) needed by rpm-python3.9-4.15.1-64_4.ppc
      - nothing provides librpmsign.a(librpmsign.so.9) needed by rpm-python3.9-4.15.1-64_4.ppc
     Problem 4: package python3-dnf-4.2.17-64_53.ppc requires python3.9-dnf = 4.2.17-64_53, but none of the providers can be installed
      - package python3.9-dnf-4.2.17-64_53.ppc requires rpm-python3.9 >= 4.15.1-64_3, but none of the providers can be installed
      - cannot install the best update candidate for package python3-dnf-4.2.17-64_51.ppc
      - nothing provides librpm.a(librpm.so.9) needed by rpm-python3.9-4.15.1-64_3.ppc
      - nothing provides librpmio.a(librpmio.so.9) needed by rpm-python3.9-4.15.1-64_3.ppc
      - nothing provides librpmbuild.a(librpmbuild.so.9) needed by rpm-python3.9-4.15.1-64_3.ppc
      - nothing provides librpmsign.a(librpmsign.so.9) needed by rpm-python3.9-4.15.1-64_3.ppc
      - nothing provides librpm.a(librpm.so.9) needed by rpm-python3.9-4.15.1-64_4.ppc
      - nothing provides librpmio.a(librpmio.so.9) needed by rpm-python3.9-4.15.1-64_4.ppc
      - nothing provides librpmbuild.a(librpmbuild.so.9) needed by rpm-python3.9-4.15.1-64_4.ppc
      - nothing provides librpmsign.a(librpmsign.so.9) needed by rpm-python3.9-4.15.1-64_4.ppc

    # ls -l /usr/opt/rpm/lib64/librpm*
    lrwxrwxrwx    1 root     system           34 Sep 11 18:11 /usr/opt/rpm/lib64/librpm.so -> /usr/opt/rpm/lib64/librpm.so.9.0.1
    lrwxrwxrwx    1 root     system           34 Sep 11 18:11 /usr/opt/rpm/lib64/librpm.so.9 -> /usr/opt/rpm/lib64/librpm.so.9.0.1
    -r-xr-xr-x    1 root     system      1220696 Jul 14 2022  /usr/opt/rpm/lib64/librpm.so.9.0.1
    lrwxrwxrwx    1 root     system           39 Sep 11 18:11 /usr/opt/rpm/lib64/librpmbuild.so -> /usr/opt/rpm/lib64/librpmbuild.so.9.0.1
    lrwxrwxrwx    1 root     system           39 Sep 11 18:11 /usr/opt/rpm/lib64/librpmbuild.so.9 -> /usr/opt/rpm/lib64/librpmbuild.so.9.0.1
    -r-xr-xr-x    1 root     system       410835 Jun 29 2021  /usr/opt/rpm/lib64/librpmbuild.so.9.0.1
    lrwxrwxrwx    1 root     system           36 Sep 11 18:11 /usr/opt/rpm/lib64/librpmio.so -> /usr/opt/rpm/lib64/librpmio.so.9.0.1
    lrwxrwxrwx    1 root     system           36 Sep 11 18:11 /usr/opt/rpm/lib64/librpmio.so.9 -> /usr/opt/rpm/lib64/librpmio.so.9.0.1
    -r-xr-xr-x    1 root     system       462591 Jul 25 2021  /usr/opt/rpm/lib64/librpmio.so.9.0.1
    lrwxrwxrwx    1 root     system           38 Sep 11 18:11 /usr/opt/rpm/lib64/librpmsign.so -> /usr/opt/rpm/lib64/librpmsign.so.9.0.1
    lrwxrwxrwx    1 root     system           38 Sep 11 18:11 /usr/opt/rpm/lib64/librpmsign.so.9 -> /usr/opt/rpm/lib64/librpmsign.so.9.0.1
    -r-xr-xr-x    1 root     system        39099 Jun 29 2021  /usr/opt/rpm/lib64/librpmsign.so.9.0.1



    ------------------------------
    Santhosh Padiyath
    ------------------------------


  • 2.  RE: AIX7.3 dnf update fails

    Posted Wed September 20, 2023 12:12 AM

    Hi Santosh

    Update rpm.rte to latest version and then retry ?

    https://www.ibm.com/resources/mrs/assets?source=aixbp



    ------------------------------
    SANGAMESH
    ------------------------------



  • 3.  RE: AIX7.3 dnf update fails

    Posted Thu September 21, 2023 02:30 PM

    Thank you Sangamesh. I updated rpm.rte from 4.15.1.2006 to 4.15.1.2009 and dnf update no longer failing. 



    ------------------------------
    Santhosh Padiyath
    ------------------------------