Open Source Development

Power Open Source Development

Connect, learn, share, and engage with IBM Power.


#Power


#Power
 View Only
  • 1.  Dependencies between RPM packages

    Posted Wed December 14, 2022 08:54 AM
    Dear Community-Team, i have problems with upgrade the installed RPM-packages after upgrading AIX 7.2 to the this TL5 level (7200-05-04-2220).

    --> Abhängigkeitsauflösung beendet
    Fehler: Paket: python3-3.7.15-1.ppc (AIX_Toolbox)
    Benötigt: (libcomps >= 0.1.11-101 if dnf)
    Sie können versuchen mit --skip-broken das Problem zu umgehen.
    ** 2 bereits bestehende(s) rpmdb Problem(e) gefunden, 'yum check' gibt Folgendes aus:
    libgcc8-8.3.0-6.ppc hat installierte Konflikte libgcc <= ('0', '9.1.0', None): libgcc-8.3.0-3.ppc
    1:libgomp-8-1.ppc benötigt libgcc = ('1', '8', '1')

    Is there any solution other than this:
    AIX: Old Open Source RPM Packages Clean-Up then use Yum
    Ibm remove preview
    AIX: Old Open Source RPM Packages Clean-Up then use Yum
    This AIXpert Blog covers cleaning out my old "home" AIX virtual machine, which has problems with RPM prerequisites. The problem makes adding new RPM packages impossible. The problem is probably due to using RPM packages from difference source over a number of years.
    View this on Ibm >

    Best regards



    ------------------------------
    Stefan Martin
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Dependencies between RPM packages

    Posted Wed December 14, 2022 09:48 PM
    Hi Stefan
    1. Can you share the command you ran, and post all the errors?
    2. Are you using DNF?

    Note - here is the instruction set I have published that might be a little simpler, if you really do need to scrub to start over.
    https://community.ibm.com/community/user/power/blogs/jan-harris1/2022/05/25/destroyrpms?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9

    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 3.  RE: Dependencies between RPM packages

    Posted Thu December 15, 2022 01:14 AM
      |   view attached
    good morning,

    the ouput ist not complete. the command was yum update. the attachment shows the complete outout 
    from command yum update.

    ------------------------------
    Stefan Martin
    ------------------------------

    Attachment(s)

    txt
    20221215_yum_output.txt   11 KB 1 version


  • 4.  RE: Dependencies between RPM packages

    Posted Thu December 15, 2022 01:26 AM
    Sorry I forgot to ask how to switch from using yum to dnf?

    ------------------------------
    Stefan Martin
    ------------------------------



  • 5.  RE: Dependencies between RPM packages

    Posted Thu December 15, 2022 12:12 PM
    You can run the dnf_aixtoolbox.sh  script, with the "-y"

    See 
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox

    If the DNF install and subsequent dnf 'update' does not work, and you still have those errors, 

    FYI  - see this - it might be helpful
    https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?GroupId=6211&MessageKey=68f806ba-c004-4851-a1cb-2db7c38311ed&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer

    Since you have the older non multi version libgcc already installed, you also need to have the corresponding meta package libgcc-8-1.aix7.2.ppc.rpm downloaded to install libgcc8.
    This is due  to multi version changes as at the same time we can't have older libgcc and multi version libgcc8 installed.

    Please download both libgcc8 and it's meta package libgcc-8-1.aix7.2.ppc.rpm and run the update command.
    Same for other gcc related packages as well.

    # ls libgcc* libstdc*
    libgcc-8-1.aix7.2.ppc.rpm libstdcplusplus-8-1.aix7.2.ppc.rpm
    libgcc8-8.3.0-4.aix7.2.ppc.rpm libstdcplusplus8-8.3.0-4.aix7.2.ppc.rpm

    # rpm -Uvh libgcc-8-1.aix7.2.ppc.rpm libgcc8-8.3.0-4.aix7.2.ppc.rpm libstdcplusplus8-8.3.0-4.aix7.2.ppc.rpm libstdcplusplus-8-1.aix7.2.ppc.rpm

    Verifying... ################################# [100%]
    Preparing... ################################# [100%]
    Updating / installing...
    1:libgcc8-8.3.0-4 ################################# [ 17%]
    2:libgcc-1:8-1 ################################# [ 33%]
    3:libstdc++8-8.3.0-4 ################################# [ 50%]
    4:libstdc++-1:8-1 ################################# [ 67%]
    Cleaning up / removing...
    5:libstdc++-8.3.0-3 ################################# [ 83%]
    6:libgcc-8.3.0-3 ################################# [100%]

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


    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------