AIX

AIX

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


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
  • 1.  dnf broken after upgrade to AIX 7.3.1.4

    Posted 21 hours ago

    Updated to 7.3.1.4

    Now I need to update dnf because it doesn't work with the following errors:

    # /opt/freeware/bin/dnf
    Traceback (most recent call last):
    File "/opt/freeware/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 lua_newuserdata was referenced
    from module /usr/opt/rpm/lib64/librpmio.so(), but a runtime definition
    of the symbol was not found.


    I tried to reinstall by doing the following:
    rpm -e libcomps python3-libcomps dnf dnf-automatic dnf-data python3-dnf libdnf python3-libdnf python3-hawkey librepo python3-librepo
    dnf_aixtoolbox.sh

    # /tmp/dnf _aixtoolbox.sh -d #only if yum is not installed
    Attempting download of dnf_bundle_aix_73.tar ...
    Saving to 'dnf_bundle_aix_73.tar'...

    1% of 291 MB -
    6% of 291 MB \
    10% of 291 MB |
    14% of 291 MB (at 10.6 MB/sec, 23 seconds remaining) /
    18% of 291 MB (at 11 MB/sec, 21 seconds remaining) -
    22% of 291 MB (at 10.9 MB/sec, 20 seconds remaining) \
    26% of 291 MB (at 11.1 MB/sec, 19 seconds remaining) |
    30% of 291 MB (at 11.2 MB/sec, 17 seconds remaining) /
    34% of 291 MB (at 11.2 MB/sec, 16 seconds remaining) -
    38% of 291 MB (at 11.3 MB/sec, 15 seconds remaining) \
    43% of 291 MB (at 11.4 MB/sec, 14 seconds remaining) |
    47% of 291 MB (at 11.5 MB/sec, 13 seconds remaining) /
    51% of 291 MB (at 11.5 MB/sec, 12 seconds remaining) -
    55% of 291 MB (at 11.6 MB/sec, 11 seconds remaining) \
    60% of 291 MB (at 11.7 MB/sec, 9 seconds remaining) |
    64% of 291 MB (at 11.7 MB/sec, 8 seconds remaining) /
    68% of 291 MB (at 11.8 MB/sec, 7 seconds remaining) -
    72% of 291 MB (at 11.7 MB/sec, 6 seconds remaining) \
    76% of 291 MB (at 11.7 MB/sec, 5 seconds remaining) |
    80% of 291 MB (at 11.8 MB/sec, 4 seconds remaining) /
    85% of 291 MB (at 11.8 MB/sec, 3 seconds remaining) -
    89% of 291 MB (at 11.8 MB/sec, 2 seconds remaining) \
    93% of 291 MB (at 11.8 MB/sec, 1 seconds remaining) |
    97% of 291 MB (at 11.8 MB/sec, 0 seconds remaining) /

    291 MB received in 24 seconds (12.1 MB/sec)

    Extracting dnf_bundle_aix_73.tar ...
    x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991206 bytes, 1936 tape blocks
    x dnf-4.2.17-64_7.aix7.1.noarch.rpm, 11496 bytes, 23 tape blocks
    x dnf-automatic-4.2.17-64_7.aix7.1.noarch.rpm, 12956 bytes, 26 tape blocks
    x dnf-data-4.2.17-64_7.aix7.1.noarch.rpm, 29804 bytes, 59 tape blocks
    x extra_list, 384 bytes, 1 tape blocks
    x gnupg2-2.2.35-0.aix7.1.ppc.rpm, 69469827 bytes, 135684 tape blocks
    x install_dnf.sh, 17017 bytes, 34 tape blocks
    x libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1312174 bytes, 2563 tape blocks
    x libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 16515586 bytes, 32258 tape blocks
    ........

    dnf installed successfully.
    Please run 'dnf update' to update packages to the latest level.

    Please note, RPM packages are downloaded in dnf cache /var/cache/dnf.
    RPM packages install files go under the path /opt.
    Hence it is recommended to always keep at least 512MB of free space in /var & /opt
    to avoid any download and installation/update failures.



    DNF does install but when I do "dnf update", I get the same error

    # /opt/freeware/bin/dnf
    Traceback (most recent call last):
      File "/opt/freeware/bin/dnf", line 58, in <module>
        from dnf.cli import main
      File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module>
        import dnf.base
      File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
        import libdnf.transaction
      File "/opt/freeware/lib64/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
        from . import common_types
      File "/opt/freeware/lib64/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
        from . import _common_types
    ImportError:    0509-130 Symbol resolution failed for /usr/opt/rpm/lib64/librpmio.so because:
            0509-136   Symbol lua_newuserdata (number 198) is not exported from
                       dependent module /usr/opt/rpm/lib/liblua.a(liblua-5.3.so).
            0509-192 Examine .loader section symbols with the
                     'dump -Tv' command.



    ------------------------------
    Mark Stolz
    ------------------------------


  • 2.  RE: dnf broken after upgrade to AIX 7.3.1.4

    Posted 6 hours ago

    Hi Mark

    It seems to be an issue with dependent module /usr/opt/rpm/lib/liblua.a(liblua-5.3.so). You have 5.3 installed. Could you try to install this one: public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/lua/lua-5.4.6-1.aix7.1.ppc.rpm

    I know it says aix7.1 but check which one you have installed now. There isn't one specific for AIX 7.3.

    Kind regards



    ------------------------------
    Lance Martincich
    ERP Systems Engineer
    City of Cape Town
    Cape Town
    +27832856514
    ------------------------------