Thank you. Really appreciate for this. First I run dnf reinstall db then dnf update. It is working now.
Original Message:
Sent: Mon April 07, 2025 05:47 AM
From: SANGAMESH MALLAYYA
Subject: Getting error when running dnf check command in AIX
Try running the "dnf reinstall db" first and then run "dnf update"
------------------------------
SANGAMESH
Original Message:
Sent: Mon April 07, 2025 05:14 AM
From: Manoj Kumar
Subject: Getting error when running dnf check command in AIX
Hi Sangamesh,
Please see the output below from "dnf update" command
root@:/# dnf update
Last metadata expiration check: 0:00:55 ago on Mon Apr 7 05:09:40 EDT 2025.
Dependencies resolved.
===============================================================================================================================================================================================================
Package Architecture Version Repository Size
===============================================================================================================================================================================================================
Upgrading:
curl ppc 8.11.1-2 AIX_Toolbox 2.0 M
db ppc 1:5.3.28-1 AIX_Toolbox 17 M
info ppc 7.2-1 AIX_Toolbox 659 k
Transaction Summary
===============================================================================================================================================================================================================
Upgrade 3 Packages
Total download size: 19 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): info-7.2-1.aix7.1.ppc.rpm 880 kB/s | 659 kB 00:00
(2/3): curl-8.11.1-2.aix7.1.ppc.rpm 1.8 MB/s | 2.0 MB 00:01
(3/3): db-5.3.28-1.aix6.1.ppc.rpm 3.9 MB/s | 17 MB 00:04
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 4.5 MB/s | 19 MB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: info-7.2-1.ppc 1/6
Upgrading : info-7.2-1.ppc 1/6
Running scriptlet: info-7.2-1.ppc 1/6
Please check that /etc/info-dir does exist.
You might have to rename it from /etc/info-dir.rpmsave to /etc/info-dir.
Running scriptlet: db-1:5.3.28-1.ppc 2/6
cp: libdb4.a: A file or directory in the path name does not exist.
cp: libdb.so: A file or directory in the path name does not exist.
cp: libdb-4.so: A file or directory in the path name does not exist.
cp: libdb-4.a: A file or directory in the path name does not exist.
cp: libdb-4.8.so: A file or directory in the path name does not exist.
cp: libdb-4.8.a: A file or directory in the path name does not exist.
error: %prein(db-1:5.3.28-1.ppc) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package db
Upgrading : curl-8.11.1-2.ppc 3/6
error: db-1:5.3.28-1.ppc: install failed
Running scriptlet: info-7.0.2-1.ppc 4/6
Cleanup : info-7.0.2-1.ppc 4/6
Running scriptlet: info-7.0.2-1.ppc 4/6
Cleanup : curl-8.11.1-1.ppc 5/6
error: db-4.8.24-3.ppc: erase skipped
Verifying : curl-8.11.1-2.ppc 1/6
Verifying : curl-8.11.1-1.ppc 2/6
Verifying : db-1:5.3.28-1.ppc 3/6
Verifying : db-4.8.24-3.ppc 4/6
Verifying : info-7.2-1.ppc 5/6
Verifying : info-7.0.2-1.ppc 6/6
Upgraded:
curl-8.11.1-2.ppc info-7.2-1.ppc
Failed:
db-1:5.3.28-1.ppc db-4.8.24-3.ppc
Error: Transaction failed
------------------------------
Manoj Kumar
Original Message:
Sent: Mon April 07, 2025 05:04 AM
From: SANGAMESH MALLAYYA
Subject: Getting error when running dnf check command in AIX
Hi Manoj,
Are you able to run "dnf update" ?
I see your db version is still old.
------------------------------
SANGAMESH
Original Message:
Sent: Fri April 04, 2025 07:11 AM
From: Manoj Kumar
Subject: Getting error when running dnf check command in AIX
PFB
/# rpm -qa
db-4.8.24-3.ppc
python3.9-six-1.13.0-2.noarch
python3-six-1.13.0-2.noarch
axon-agent-3.20.1.3073-1.ppc
gc-guest-agent-5.49.24028.62292-cfcdf93e86.ppc
libffi-3.4.4-2.ppc
libzstd-1.5.2-3.ppc
ncurses-6.4-1.ppc
libtasn1-4.19.0-1.ppc
check-0.13.0-1.ppc
libyaml-0.2.5-1.ppc
pcre2-10.40-1.ppc
libunistring-1.1-1.ppc
gettext-0.21-2.ppc
info-7.0.2-1.ppc
readline-8.2-1.ppc
libmodulemd-1.5.2-100.ppc
libsmartcols-2.34-101.ppc
gdbm-1.23-1.ppc
python3.9-dateutil-2.8.2-1.noarch
libksba-1.6.3-1.ppc
nettle-3.9.1-1.ppc
zchunk-libs-1.1.4-103.ppc
gnupg2-2.4.3-1.ppc
librepo-1.11.0-103.ppc
python3.9-gpg-1.13.1-101.ppc
libcomps-0.1.15-101.ppc
python3-librepo-1.11.0-103.ppc
unzip-6.0-3.ppc
bash-5.2.21-1.ppc
p11-kit-0.25.5-2.ppc
openldap-2.5.16-3.ppc
libnghttp2-1.62.1-1.ppc
python3.9-3.9.20-1.ppc
curl-8.11.1-1.ppc
gnutls-3.8.7-1.ppc
libxml2-2.12.9-1.ppc
yum-metadata-parser-1.1.4-2.ppc
zlib-1.2.13-1.ppc
bzip2-1.0.8-2.ppc
json-c-0.17-1.ppc
xz-libs-5.4.3-1.ppc
gmp-6.3.0-1.ppc
npth-1.5-1.ppc
libtextstyle-0.21-2.ppc
libiconv-1.17-1.ppc
libgpg-error-1.49-1.ppc
sqlite-3.45.3-1.ppc
libassuan-2.5.6-1.ppc
libgcrypt-1.10.3-1.ppc
pinentry-1.0.0-1.ppc
gpgme-1.13.1-101.ppc
python3.9-librepo-1.11.0-103.ppc
python3.9-libcomps-0.1.15-101.ppc
python3-libcomps-0.1.15-101.ppc
python3-gpg-1.13.1-101.ppc
python3-dateutil-2.8.2-1.noarch
sudo-1.9.15p5-1.ppc
ca-certificates-2024.2.66-1.ppc
libssh2-1.11.0-1.ppc
expat-2.6.3-1.ppc
python3-3.9.20-1.ppc
p11-kit-tools-0.25.5-2.ppc
glib2-2.83.2-1.ppc
AIX-rpm-7.3.3.0-20.ppc
rpm-python3.9-4.15.1-64_4.ppc
rpm-python3-4.15.1-64_4.ppc
libsolv-0.7.9-64_52.ppc
libdnf-0.39.1-64_52.ppc
python3.9-libdnf-0.39.1-64_52.ppc
python3.9-hawkey-0.39.1-64_52.ppc
dnf-data-4.2.17-64_54.ppc
python3.9-dnf-4.2.17-64_54.ppc
python3.9-dnf-plugins-core-4.0.16-64_52.ppc
python3.9-dnf-plugin-migrate-4.0.16-64_52.ppc
python3-dnf-4.2.17-64_54.ppc
dnf-4.2.17-64_54.ppc
dnf-automatic-4.2.17-64_54.ppc
python3-dnf-plugin-migrate-4.0.16-64_52.ppc
python3-dnf-plugins-core-4.0.16-64_52.ppc
python3-hawkey-0.39.1-64_52.ppc
python3-libdnf-0.39.1-64_52.ppc
libgcc10-10.3.0-6.ppc
libgcc-10-2.ppc
libstdc++10-10.3.0-6.ppc
libstdc++-10-2.ppc
libgomp10-10.3.0-6.ppc
libgomp-10-2.ppc
cyrus-sasl-2.1.28-1.ppc
krb5-libs-1.21.3-2.ppc
------------------------------
Manoj Kumar
Original Message:
Sent: Fri April 04, 2025 05:59 AM
From: RESHMA KUMAR
Subject: Getting error when running dnf check command in AIX
Can you share the "rpm -qa" output?
------------------------------
RESHMA KUMAR
Original Message:
Sent: Fri April 04, 2025 04:47 AM
From: Manoj Kumar
Subject: Getting error when running dnf check command in AIX
Hi Team,
I am getting error when tried to run dnf check command on of the AIX server. Please find the error below and suggest the solution.
root@:/# dnf check
cyrus-sasl-2.1.28-1.ppc has missing requires of db >= 5.3.28
cyrus-sasl-2.1.28-1.ppc has missing requires of libdb-5.3.a(libdb-5.3.so)
krb5-libs-1.21.3-2.ppc has missing requires of db >= 5.3.28
krb5-libs-1.21.3-2.ppc has missing requires of libdb5.a(libdb-5.3.so)
Error: Check discovered 4 problem(s)
We have latest version installed on this server.
root@:/# rpm -qa|grep -i python3
python3.9-six-1.13.0-2.noarch
python3-six-1.13.0-2.noarch
python3.9-dateutil-2.8.2-1.noarch
python3.9-gpg-1.13.1-101.ppc
python3-librepo-1.11.0-103.ppc
python3.9-3.9.20-1.ppc
python3.9-librepo-1.11.0-103.ppc
python3.9-libcomps-0.1.15-101.ppc
python3-libcomps-0.1.15-101.ppc
python3-gpg-1.13.1-101.ppc
python3-dateutil-2.8.2-1.noarch
python3-3.9.20-1.ppc
rpm-python3.9-4.15.1-64_4.ppc
rpm-python3-4.15.1-64_4.ppc
python3.9-libdnf-0.39.1-64_52.ppc
python3.9-hawkey-0.39.1-64_52.ppc
python3.9-dnf-4.2.17-64_54.ppc
python3.9-dnf-plugins-core-4.0.16-64_52.ppc
python3.9-dnf-plugin-migrate-4.0.16-64_52.ppc
python3-dnf-4.2.17-64_54.ppc
python3-dnf-plugin-migrate-4.0.16-64_52.ppc
python3-dnf-plugins-core-4.0.16-64_52.ppc
python3-hawkey-0.39.1-64_52.ppc
python3-libdnf-0.39.1-64_52.ppc
------------------------------
Manoj Kumar
------------------------------