I had to remove some rpms lynx, python, wget, apache and it was able to run the dnf update, however, now that I am trying to do a "dnf check" it is showing me the following.
$ dnf repolist
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 57, 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/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: Could not load module /opt/freeware/lib/libsolv.a(libsolv.so.1).
Dependent module libbz2.a(libbz2.so.1) could not be loaded.
Could not load module libbz2.a(libbz2.so.1).
System error: No such file or directory
Could not load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
Dependent module /opt/freeware/lib/libsolv.a(libsolv.so.1) could not be loaded.
------------------------------
G N
------------------------------
Original Message:
Sent: Thu September 04, 2025 05:51 AM
From: Aditya Kamath
Subject: Curl Upgrade using DNF is failing
Hi,
>ImportError: Could not load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
> Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
> Member libcrypto.so.1.1 is not found in archive
This indicates you might have an older openssl rpm installed.
What is the output of rpm -qa | grep openssl
??
We need to remove it, and dnf will start working.
Can you paste the output.
------------------------------
Aditya Kamath
Original Message:
Sent: Wed September 03, 2025 10:12 PM
From: G N
Subject: Curl Upgrade using DNF is failing
Hello, I am trying to upgrade curl using dnf but it is failing. I downloaded the IBM AIX Toolbox ISO files and mounted them onto the server so that they can be used as a local repo.
$ dnf update
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 57, 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/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: Could not load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.1.1) could not be loaded.
Member libcrypto.so.1.1 is not found in archive
Could not load module /opt/freeware/lib/python3.9/site-packages/libdnf/_common_types.so.
Dependent module /opt/freeware/lib/libdnf.a(libdnf.so.2) could not be loaded.
I have openssl.base installed as well as the openssl-0.9. I can't remove or install the update openssl 1.1.1, keep getting a conflict error. And when trying to remove openssl 0.9 I get a dependency error below.
root@srpsac-vcax001:/mnt/ezinstall/ppc
$ rpm -qa |grep openssl
openssl-0.9.7g-1.ppc
root@srpsac-vcax001:/mnt/ezinstall/ppc
$
root@srpsac-vcax001:/mnt/ezinstall/ppc
$ lslpp -l |grep openssl
openssl.base 3.0.15.1000 COMMITTED Open Secure Socket Layer
openssl.license 3.0.15.1000 COMMITTED Open Secure Socket License
openssl.man.en_US 3.0.15.1000 COMMITTED Open Secure Socket Layer
openssl.base 3.0.15.1000 COMMITTED Open Secure Socket Layer
root@srpsac-vcax001:/mnt/ezinstall/ppc
This is our prod system and I don't want to break anything. Please advise.
------------------------------
G N
------------------------------