Error I am getting trying to run dnf update after having server patched:
(utabstmst2904.xxxx.xx:/opt/freeware)# /opt/freeware/bin/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.7/site-packages/dnf/__init__.py", line 32, 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/lib/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-022 Cannot load module /opt/freeware/lib/libdnf.a(libdnf.so.2).
0509-150 Dependent module librpm.so could not be loaded.
0509-022 Cannot load module librpm.so.
0509-026 System error: A file or directory in the path name does not exist.
# OS Version #
(utabstmst2904.xxxx.xx:/opt/freeware)# oslevel -s
7300-02-01-2346
# rpm.rte version #
(utabstmst2904.xxxx.xx:/opt/freeware)# lslpp -Lc | grep rpm.rte
rpm.rte:rpm.rte:4.18.1.2001: : :C: :RPM Package Manager: : : : : : :0:0:/:
# /opt/freeware/packages output #
(utabstmst2904.xxxx.xx:/opt/freeware/packages)# ls -l
total 16400
-rw-r--r-- 1 root system 8364032 Feb 22 14:24 rpmdb.sqlite
-rw-r--r-- 1 root system 32768 Feb 22 14:34 rpmdb.sqlite-shm
-rw-r--r-- 1 root system 0 Feb 22 14:24 rpmdb.sqlite-wal
I also ran the rpmdb --rebuildb with no errors as well as ran the updtvpkg.
Trying to figure out what caused the issue.
------------------------------
Joshua Krause
------------------------------
#AIXOpenSource