AIX Open Source

 View Only
  • 1.  libsolv failed to update

    IBM Champion
    Posted Wed April 27, 2022 09:36 AM
    Hello Team,

    I just updated our test server with the latest rpm's available on the Toolbox.
    Unfortunately I got this error while updating libsolv:

      Running scriptlet: libsolv-0.7.9-32_50.ppc                                                                                      5/67
    libsolv-0.7.9-1 and libsolv-0.7.9-32_1 are same.
    error: %prein(libsolv-0.7.9-32_50.ppc) scriptlet failed, exit status 1
    
    Error in PREIN scriptlet in rpm package libsolv
      Installing       : json-c-0.15-2.ppc                                                                                            6/67
    error: libsolv-0.7.9-32_50.ppc: install failed
    ​


    Any idea what I can do to fix this???

    Many thanks in advance...

    Best regards,
    Joerg



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------


  • 2.  RE: libsolv failed to update

    Posted Wed April 27, 2022 10:14 AM
    Hi Joerg,

    What is the version of libsolv is installed and how dnf was setup ?
    Does dnf was setup using beta bundle ?

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



  • 3.  RE: libsolv failed to update

    IBM Champion
    Posted Thu April 28, 2022 01:17 AM
    Edited by Joerg Kauke Thu April 28, 2022 02:34 AM
    Hello Sangamesh,

    thanks for looking into it.
    Yes, dnf was installed from the first Beta you send me and updated with the new packages from you tar file.

    Installed version of libsolv:
    libsolv-0.7.9-1.ppc

    edit:
    I got a lot of the same errors when I try to update the dnf packages and its dependencies with the dnf-aixtoolbox.sh...
    It is always the same error...

    for example:
    libzstd-1.4.4-1 and libzstd-1.4.4-1-32_1 are same.
    error: %prein(libzstd-1.4.4-32_1.ppc) scriptlet failed, exit status 1
    error: libzstd-1.4.4-32_1.ppc: install failed

    I had to completely uninstall all these packages to get the newest version of dnf installed.

    best regards,
    Joerg

    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------



  • 4.  RE: libsolv failed to update

    Posted Fri April 29, 2022 03:49 AM
    Hi Joerg,

    Updated libsolv has been uploaded.
    It always better to use latest bundle to setup DNF.
    Do you still have DNF setup with beta bundle ?

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



  • 5.  RE: libsolv failed to update

    IBM Champion
    Posted Fri April 29, 2022 06:32 AM

    Hello Sangamesh,

    there is no beta anymore on our systems. I deinstalled all dnf packages and *.beta rpm's and installed the official dnf release right after you released it.
    But I still get these errors if I update dnf with the latest package from the toolbox.

    Do I have to uninstall all these packages again and then install the new bundle package?

    regards,
    Joerg



    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------



  • 6.  RE: libsolv failed to update

    Posted Fri April 29, 2022 10:58 AM
    Hi Joerg,

    After removing the beta packages you setup dnf using latest bundle and then tried to update to the latest one from Toolbox packages ?
    We first always need to setup dnf using bundle and then update to latest Toolbox packages.

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



  • 7.  RE: libsolv failed to update
    Best Answer

    IBM Champion
    Posted Mon May 02, 2022 02:25 AM
    Hi Sangamesh,

    after uninstalling the dnf beta packages in installed the dnf_bundle_aix_71_72_v1.tar last year, right after it was released.
    Now we are starting to upgrade our systems to AIX 7.2 TL5 and in that process we upgrade all rpm's to the latest level as well.
    This is where the error came up.
    So I tested the update of all dnf packages and dependencies by installing the latest dnf_bundle_aix_71_72_v3.tar and I got more of these errors.
    Then I uninstalled the failing packages as well as the dnf packages and installed the dnf_bundle_aix_71_72_v3.tar successfully, afterwards the dnf update has run without errors.

    best regards,
    Joerg

    ------------------------------
    Joerg Kauke
    Unix Administrator
    COOP Switzerland
    ------------------------------