Sangamesh,
rpm -Va
# rpm -Va
S.5....T. c /opt/freeware/etc/dnf/dnf.conf
.M....... g /opt/freeware/etc/ssl/certs/extracted/java/cacerts
.M....... g /opt/freeware/etc/ssl/certs/extracted/openssl/ca-bundle.trust.crt
.M....... g /opt/freeware/etc/ssl/certs/extracted/pem/email-ca-bundle.pem
.M....... g /opt/freeware/etc/ssl/certs/extracted/pem/objsign-ca-bundle.pem
.M....... g /opt/freeware/etc/ssl/certs/extracted/pem/tls-ca-bundle.pem
/opt/freeware/bin/dnf looks OK too:
head /opt/freeware/bin/dnf
#!/opt/freeware/libexec/python3.9_32
# The dnf executable script.
#
# Copyright (C) 2012-2016 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# the GNU General Public License v.2, or (at your option) any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY expressed or implied, including the implied warranties of
------------------------------
Glenn Robinson
------------------------------
Original Message:
Sent: Wed July 05, 2023 01:28 PM
From: SANGAMESH MALLAYYA
Subject: DNF issues after updating rpm and running aix_toolbox.sh
Hi Glenn,
You can verify if the /opt/freeware/bin/dnf has interpreter line has "#!/opt/freeware/libexec/python3.9_32"
Also, you can verify if the packages are proper with the command "rpm -Va"
------------------------------
SANGAMESH
Original Message:
Sent: Tue July 04, 2023 02:39 PM
From: Glenn Robinson
Subject: DNF issues after updating rpm and running aix_toolbox.sh
The packages look good to me:
# rpm -qa | grep -E "dnf|python"python3.9-3.9.16-0.ppcpython3.9-libdnf-0.39.1-32_3.ppcpython3.9-gpg-1.13.1-32_3.ppcdnf-data-4.2.17-32_4.noarchpython3-dnf-4.2.17-32_4.noarchdnf-automatic-4.2.17-32_4.noarchpython3-gpg-1.13.1-32_3.ppcpython3-libdnf-0.39.1-32_3.ppcpython3-3.9.16-0.ppcrpm-python3.9-4.15.1-32_2.ppclibdnf-0.39.1-32_3.ppcpython3.9-hawkey-0.39.1-32_3.ppcpython3.9-librepo-1.11.0-32_2.ppcpython3.9-libcomps-0.1.15-32_1.ppcpython3.9-dnf-4.2.17-32_4.noarchdnf-4.2.17-32_4.noarchpython3-libcomps-0.1.15-32_1.ppcpython3-librepo-1.11.0-32_2.ppcpython3-hawkey-0.39.1-32_3.ppcrpm-python3-4.15.1-32_2.ppc
I've compared the /opt/freeware/bin and /opt/freeware/libexec on this LPAR and another LPAR which is working OK and the look the same.
-rwxr-xr-x 1 root system 402966 22 Jun 2022 dirmngr_ldapdrwxr-xr-x 3 root system 12288 23 May 17:34 git-core-rwxr-xr-x 1 root system 468446 22 Jun 2022 gpg-check-pattern-rwxr-xr-x 1 root system 403625 22 Jun 2022 gpg-preset-passphrase-rwxr-xr-x 1 root system 606631 22 Jun 2022 gpg-protect-tool-rwxr-xr-x 1 root system 631517 22 Jun 2022 gpg-wks-clientdrwxr-xr-x 2 root system 4096 03 Jul 14:50 p11-kit-rwxr-xr-x 1 root system 94 28 Jun 19:03 pydoc3.9_32-rwxr-xr-x 1 root system 224054 28 Jun 18:57 python3.9_32-rwxr-xr-x 1 root system 937185 22 Jun 2022 scdaemondrwxr-xr-x 2 root system 4096 23 May 17:35 sudo
Any further thoughts on this?
------------------------------
Glenn Robinson
Original Message:
Sent: Tue July 04, 2023 09:15 AM
From: SANGAMESH MALLAYYA
Subject: DNF issues after updating rpm and running aix_toolbox.sh
Now the interpreter path in dnf is /opt/freeware/libexec/python3.9_32 with dnf-4.2.17-32_51.ppc
Please check if the update was correct and files installed by dnf-4.2.17-32_51.ppc is proper.
------------------------------
SANGAMESH
Original Message:
Sent: Mon July 03, 2023 10:09 AM
From: Glenn Robinson
Subject: DNF issues after updating rpm and running aix_toolbox.sh
AIX 7.2
I've just updated rpm to 4.15.1.1010, run a updtvpkg and run the aix_toolbix.sh -d command.
Now when I run dnf update I get the following:
exec(): 0509-036 Cannot load program /opt/freeware/bin/python3_32 because of the following errors: 0509-130 Symbol resolution failed for /opt/freeware/lib/libpython3.7m.so because: 0509-136 Symbol _GLOBAL__AIXI_libintl_so (number 6) is not exported from dependent module /usr/opt/rpm/lib/libintl.a(libintl.so.8). 0509-136 Symbol _GLOBAL__AIXD_libintl_so (number 7) is not exported from dependent module /usr/opt/rpm/lib/libintl.a(libintl.so.8). 0509-192 Examine .loader section symbols with the 'dump -Tv' command.
Any thoughts on how I can fix this?
------------------------------
Glenn Robinson
------------------------------