AIX Open Source

 View Only
  • 1.  AIX 7.3: nothing provides AIX-rpm >= 7.3.0.0 needed by gcc-1:10-2.ppc

    Posted Fri November 25, 2022 04:02 AM
    hi,

    while miggrating to dnf on aix 7.3 folowing errors where thrown and dnf is not functional.

    Problem 1: cannot install the best update candidate for package gcc-8.3.0-3.ppc
      - nothing provides AIX-rpm >= 7.3.0.0 needed by gcc-1:10-2.ppc
     Problem 2: cannot install the best update candidate for package gcc-cpp-8.3.0-3.ppc
      - nothing provides AIX-rpm >= 7.3.0.0 needed by gcc-cpp-1:10-2.ppc
     Problem 3: cannot install the best update candidate for package libgcc-8.3.0-3.ppc
      - nothing provides AIX-rpm >= 7.3.0.0 needed by libgcc-1:10-2.ppc
     Problem 4: cannot install the best update candidate for package libgomp-8.3.0-3.ppc
      - nothing provides AIX-rpm >= 7.3.0.0 needed by libgomp-1:10-2.ppc
     Problem 5: cannot install the best update candidate for package libstdc++-8.3.0-3.ppc
      - nothing provides AIX-rpm >= 7.3.0.0 needed by libstdc++-1:10-2.ppc​

    root@kug0159: /root # dnf
    Traceback (most recent call last):
      File "/usr/bin/dnf", line 58, in <module>
        from dnf.cli import main
      File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 30, in <module>
        import dnf.base
      File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
        import libdnf.transaction
      File "/opt/freeware/lib64/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
        from . import common_types
      File "/opt/freeware/lib64/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
        from . import _common_types
    ImportError: rtld: 0712-001 Symbol _ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev/opt/freeware/lib64/libdnf.a was referenced
          from module libdnf.so.2(/opt/freeware/lib64/libdnf.a), but a runtime definition
                of the symbol was not found.
    rtld: 0712-001 Symbol _ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev was referenced
          from module /opt/freeware/lib64/libdnf.a(libdnf.so.2), but a runtime definition
                of the symbol was not found.


    had do run the rpm destroy script an start from scratch to fix it. whats the reason?

    chris



    ------------------------------
    I regret starting this entire conversation
    ------------------------------


  • 2.  RE: AIX 7.3: nothing provides AIX-rpm >= 7.3.0.0 needed by gcc-1:10-2.ppc

    Posted Fri November 25, 2022 05:20 AM
    AIX 7.1/7.2 migration to 7.3 will make dnf not to work as such. 
    We have this blog here which explains the reason and list the steps to make it work --> https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/01/10/aix-migration-with-dnf?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9

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



  • 3.  RE: AIX 7.3: nothing provides AIX-rpm >= 7.3.0.0 needed by gcc-1:10-2.ppc

    Posted Fri November 25, 2022 07:39 AM
    this steps are done of course...the error comes up during dnf migration AFTER 7.2 -> 7.3 upgrade.

    ------------------------------
    I regret starting this entire conversation
    ------------------------------



  • 4.  RE: AIX 7.3: nothing provides AIX-rpm >= 7.3.0.0 needed by gcc-1:10-2.ppc

    Posted Fri November 25, 2022 08:30 AM
    I am not sure whether the steps are properly followed or not.
    Because "updtvpkg" would have updated the virtual rpm "AIX-rpm" to 7.3.0.0 & the first error should not have come.
    For the second error, the libdnf.a from the bundle is not referencing these symbols. So looks like llbdnf rpm is updated somehow manually in the machine.

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



  • 5.  RE: AIX 7.3: nothing provides AIX-rpm >= 7.3.0.0 needed by gcc-1:10-2.ppc

    Posted 2 days ago

    Check that the repolist shows the AIX_Toolbox of the current AIX version.

    //usr/bin/oslevel -s
    7200-05-04-2220

    dnf repolist
    repo id                                                         repo name
    AIX_Toolbox                                                     AIX generic repository
    AIX_Toolbox_72                                                  AIX 7.2 specific repository
    AIX_Toolbox_noarch                                              AIX noarch repository

    You can manually update the repolist at /opt/freeware/etc/dnf/dnf.conf. 

    Ron



    ------------------------------
    Ronald Schwartz
    ------------------------------



  • 6.  RE: AIX 7.3: nothing provides AIX-rpm >= 7.3.0.0 needed by gcc-1:10-2.ppc

    Posted yesterday

    AIX-rpm is a virtual rpm package, not a real one, it should not be in any toolbox repo.

    It's created by running:  updtvpkg

     

    --

    See Ya'

    Howard Coles Jr.

    Principle Platform Engineer

    Phone: 615-855-5348

     

    John 3:16!