Original Message:
Sent: Fri August 29, 2025 06:11 AM
From: Shahir Ali FR
Subject: dnf repolist error
root@AIXHOST/mnt1/RPMS>> rpm -qa
bash-4.3-12.ppc
expat-2.1.0-1.ppc
fetchmailconf-5.9.10-1.ppc
gettext-0.10.40-8.ppc
pci.df1000f9-3-93a0.noarch
pci.df1000fd-2-10x8.noarch
prngd-0.9.23-2.ppc
python-2.7.5-1.ppc
readline-6.2-3.ppc
tk-8.4.7-3.ppc
zlib-1.2.3-4.ppc
snowagent-6.2.3-1.noarch
python3.9-3.9.16-0.ppc
libzstd-1.4.4-64_2.ppc
libsolv-0.7.9-64_4.ppc
zchunk-libs-1.1.4-64_3.ppc
python3.9-gpg-1.13.1-64_3.ppc
dnf-data-4.2.17-64_6.noarch
p11-kit-0.23.22-0.ppc
libcomps-0.1.15-64_1.ppc
ca-certificates-2023.2.60-0.ppc
python3-gpg-1.13.1-64_3.ppc
libdnf-0.39.1-64_5.ppc
python3.9-hawkey-0.39.1-64_5.ppc
python3-dnf-4.2.17-64_6.noarch
python3.9-librepo-1.11.0-64_2.ppc
dnf-automatic-4.2.17-64_6.noarch
python3-hawkey-0.39.1-64_5.ppc
db-3.3.11-4.ppc
fetchmail-5.9.10-1.ppc
gdbm-1.8.3-2.ppc
info-5.1-2.ppc
openssl-1.0.1g-1.ppc
pci.df1000fa-1-191A5.noarch
pci.df1080f9-1-91x4.noarch
procmail-3.21-1.ppc
python-iniparse-0.4-1.noarch
tcl-8.4.7-3.ppc
unzip-6.0-2.ppc
AIX-rpm-7.3.1.2-13.ppc
python3-3.9.16-0.ppc
libmodulemd-1.5.2-64_2.ppc
libsmartcols-2.34-64_1.ppc
rpm-python3.9-4.15.1-64_4.ppc
rpm-python3-4.15.1-64_4.ppc
p11-kit-tools-0.23.22-0.ppc
python3.9-libcomps-0.1.15-64_1.ppc
python3-libcomps-0.1.15-64_1.ppc
librepo-1.11.0-64_2.ppc
python3.9-libdnf-0.39.1-64_5.ppc
python3.9-dnf-4.2.17-64_6.noarch
dnf-4.2.17-64_6.noarch
python3-librepo-1.11.0-64_2.ppc
yum-4.2.17-64_6.noarch
python3-libdnf-0.39.1-64_5.ppc
root@AIXHOST/mnt1/RPMS>>
root@AIXHOST/mnt1/RPMS>> ldd /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so
/opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so needs:
/opt/freeware/lib/libgcc_s.a(shr.o)
/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthread.a(shr_xpg5_64.o)
/opt/freeware/lib64/libpython3.9.a(libpython3.9.so)
/opt/freeware/lib/libstdc++.a(libstdc++.so.6)
/opt/freeware/lib64/libzstd.a(libzstd.so.1.4.4)
/opt/freeware/lib64/libdnf.a(libdnf.so.2)
/opt/freeware/lib64/librepo.a(librepo.so.0)
/opt/freeware/lib64/libsolv.a(libsolv.so.1)
/opt/freeware/lib64/libsolvext.a(libsolvext.so.1)
/opt/freeware/lib64/libmodulemd.a(libmodulemd.so.1)
/opt/freeware/lib64/libsmartcols.a(libsmartcols.so.2.34.0)
/usr/lib/libc.a(_shr_64.o)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/usr/lib/libpthread.a(_shr_xpg5_64.o)
/usr/lib/libdl.a(shr_64.o)
/opt/freeware/lib/libz.a(libz.so.1)
/usr/opt/rpm/lib64/librpmio.a(librpmio.so.9)
/usr/opt/rpm/lib64/librpm.a(librpm.so.9)
/opt/freeware/lib/libcrypto.a(libcrypto.so.1.1)
ar: 0707-109 Member name libcrypto.so.1.1 does not exist.
dump: /tmp/tmpdir19333618/extract/libcrypto.so.1.1: 0654-106 Cannot open the specified file.
/opt/freeware/lib64/libzck.a(libzck.so.1.1.4)
/opt/freeware/lib/libssl.a(libssl.so.1.1)
ar: 0707-109 Member name libssl.so.1.1 does not exist.
dump: /tmp/tmpdir19333618/extract/libssl.so.1.1: 0654-106 Cannot open the specified file.
/usr/opt/rpm/lib/libintl.a(libintl.so.8)
/usr/opt/rpm/lib64/libnss3.so
/usr/opt/rpm/lib/libpopt.a(libpopt.so.0)
/usr/opt/rpm/lib/libbz2.a(libbz2.so.1)
/usr/opt/rpm/lib/libz.a(libz.so.1)
/usr/opt/rpm/lib/liblua.a(liblua-5.3.so)
/usr/opt/rpm/lib/libdb-4.8.a(libdb-4.8.so)
/usr/lib/libcrypto.a(libcrypto.so.1.1)
/usr/opt/rpm/lib64/libnspr4.so
/usr/opt/rpm/lib64/libnssutil3.so
/usr/opt/rpm/lib64/libplc4.so
/usr/opt/rpm/lib64/libplds4.so
/opt/freeware/lib/libintl.a(libintl.so.8)
/usr/lib/libodm.a(shr_64.o)
/usr/lib/libcfg.a(shr_64.o)
/usr/lib/libiconv.a(shr4_64.o)
root@AIXHOST/mnt1/RPMS>>
------------------------------
Shahir Ali FR
Original Message:
Sent: Fri August 29, 2025 06:08 AM
From: Shahir Ali FR
Subject: dnf repolist error
Hi Ranjit,
upon running dnf repolist getting below error
root@test2:/mnt1>> /opt/freeware/bin/dnf repolist
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-022 Cannot load module /opt/freeware/lib64/libdnf.a(libdnf.so.2).
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
0509-152 Member libcrypto.so.1.1 is not found in archive
root@test2:/mnt1>>
I have removed many rpm still getting this error
please suggest
Also below is the installation status ...some of them are showing less than 100 % , is that ok or not installed correctly.
pm-python3.9-4.15.1-64_4 is already installed
yum-4.2.17-64_6 will be installed
zchunk-libs-1.1.4-64_3 is already installed
Installing the packages...
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:librepo-1.11.0-64_2 ################################# [ 8%]
2:libdnf-0.39.1-64_5 ################################# [ 15%]
3:python3.9-libdnf-0.39.1-64_5 ################################# [ 23%]
4:python3.9-hawkey-0.39.1-64_5 ################################# [ 31%]
5:python3.9-dnf-4.2.17-64_6 ################################# [ 38%]
6:python3-dnf-4.2.17-64_6 ################################# [ 46%]
7:dnf-4.2.17-64_6 ################################# [ 54%]
8:python3.9-librepo-1.11.0-64_2 ################################# [ 62%]
9:python3-librepo-1.11.0-64_2 ################################# [ 69%]
10:dnf-automatic-4.2.17-64_6 ################################# [ 77%]
11:yum-4.2.17-64_6 ################################# [ 85%]
12:python3-hawkey-0.39.1-64_5 ################################# [ 92%]
13:python3-libdnf-0.39.1-64_5 ################################# [100%]
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.
Creating the dnf.conf file with required locale repositories.
The default /opt/freeware/etc/dnf/dnf.conf has been saved as /opt/freeware/etc/dnf/dnf.conf_local_bak
Thanks
Shahir
------------------------------
Shahir Ali FR
------------------------------