AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  dnf update with errors AIX73-TL2-SP1

    Posted Fri November 17, 2023 07:47 AM

    Hello,

    After updating AIX73 TL1 SP2 to TL2 SP1 there was the following error with DNF:

    # dnf update
    Last metadata expiration check: 1 day, 22:05:39 ago on Wed Nov 15 15:32:53 CET 2023.
    Error: 
     Problem 1: cannot install both librepo-1.11.0-101.ppc and librepo-1.11.0-64_2.ppc
      - package python3.9-librepo-1.11.0-64_2.ppc requires librepo = 1.11.0-64_2, but none of the providers can be installed
      - cannot install the best update candidate for package librepo-1.11.0-64_2.ppc
      - problem with installed package python3.9-librepo-1.11.0-64_2.ppc
     Problem 2: package python3-librepo-1.11.0-101.ppc requires libpython3.7m.so, but none of the providers can be installed
      - cannot install both python3-3.7.1-1.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.10-1.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.10-2.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.11-1.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.12-1.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.15-1.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.15-2.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.3-1.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.4-1.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.4-2.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.4-5.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.6-1.ppc and python3-3.9.16-0.ppc
      - cannot install both python3-3.7.9-1.ppc and python3-3.9.16-0.ppc
      - cannot install the best update candidate for package python3-librepo-1.11.0-64_2.ppc
      - problem with installed package python3-3.9.16-0.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)

    Previously the command was successful:

    I used the current tar.file (dnf_bundle_aix_73.tar)

    What is the easiest way to fix the error?

    greetings

    Ralf



    ------------------------------
    Ralf Kuehne
    ------------------------------


  • 2.  RE: dnf update with errors AIX73-TL2-SP1

    Posted Mon November 20, 2023 01:27 AM
    Edited by Matthias Lechner Mon November 20, 2023 02:34 AM

    Good morning Ralf,

    I ran into the same problem, with some of my AIXes as well. It seems to me that it's really essential to update/upgrade your AIX Toolbox rpms to latest level, before you update to AIX73-TL2-SP1. There I did that, no problems :)

    With AIXes on older rpm-levels where I ran into the same problem as you, I ended up in uninstalling/reinstalling all dnf rpms. Else you wont be able to upgrade Python3 to 3.9 level manually, because of dependency hell.

    greetings

    Matthias



    ------------------------------
    Matthias Lechner
    Senior Unix Administrator
    Eberspaecher Digital Solutions GmbH
    ------------------------------



  • 3.  RE: dnf update with errors AIX73-TL2-SP1

    Posted Tue November 21, 2023 06:31 AM

    Hello Matthias,

    I was now able to solve the problem. The easiest thing is to delete all RPMs and reinstall them.
    Luckily the update to dnf_bundle_aix_73 worked on another server.

    greetings

    Ralf



    ------------------------------
    Ralf Kuehne
    ------------------------------