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
  • 1.  conflicts with file from package

    Posted Mon September 28, 2020 07:31 AM
    Hey All,
    My current version of libgcc is libgcc-8.1.0-1.ppc
    I'm update/upgrade to libgcc-8.3.0-2.aix7.2.ppc.rpm

    I tried Upgrade using rpm -Uvh, getting bellow error.

    error: Failed dependencies:
    libgcc = 8.1.0-1 is needed by (installed) libstdc++-8.1.0-1.ppc
    libgcc = 8.1.0-1 is needed by (installed) gcc-8.1.0-1.ppc

    I tried with rpm -ivh libgcc-8.3.0-2.aix7.2.ppc.rpm

    Preparing... ################################# [100%]
    file /opt/freeware/lib/libatomic.a from install of libgcc-8.3.0-2.ppc conflicts with file from package libgcc-8.1.0-1.ppc
    file /opt/freeware/lib/pthread/libatomic.a from install of libgcc-8.3.0-2.ppc conflicts with file from package libgcc-8.1.0-1.ppc
    file /opt/freeware/lib64/libgcc_s.a from install of libgcc-8.3.0-2.ppc conflicts with file from package libgcc-8.1.0-1.ppc
    file /opt/freeware/lib/pthread/ppc64/libgcc_s.a from install of libgcc-8.3.0-2.ppc conflicts with file from package libgcc-8.1.0-1.ppc
    file /opt/freeware/lib/pthread/ppc64/libatomic.a from install of libgcc-8.3.0-2.ppc conflicts with file from package libgcc-8.1.0-1.ppc
    file /opt/freeware/lib/pthread/libgcc_s.a from install of libgcc-8.3.0-2.ppc conflicts with file from package libgcc-8.1.0-1.ppc
    file /opt/freeware/lib64/libatomic.a from install of libgcc-8.3.0-2.ppc conflicts with file from package libgcc-8.1.0-1.ppc
    file /opt/freeware/lib/libgcc_s.a from install of libgcc-8.3.0-2.ppc conflicts with file from package libgcc-8.1.0-1.ppc

    Any Help here ?

    ------------------------------
    Ramesh N
    ------------------------------

    #AIXOpenSource


  • 2.  RE: conflicts with file from package

    Posted Mon September 28, 2020 07:42 AM
    libgcc, gcc, libstdc++., all these rpms are from the same source (version). 
    All these should be in sync,  that's why the dependency check.
    You have to update all in one command.
    rpm -Uvh libgcc-8.3.0.., gcc-8.3.0.., , libstdc++-8.3.0.,,,

    If you have yum configured. it automatically does that.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: conflicts with file from package

    Posted Mon September 28, 2020 08:16 AM
    Ayappan

    You are right ..
    I missed gcc-8.3.0.., , libstdc

    Thanks a lot for prompt response, really much appreciated

    ------------------------------
    Ramesh N
    ------------------------------