Original Message:
Sent: Mon April 28, 2025 10:17 AM
From: Manoj Kumar
Subject: dnf not found error on AIX server
Please find the output in attached file and let us know for further action.
rpm -Va
Unsatisfied dependencies for libgcc10-10.3.0-6.ppc:
AIX-rpm < 7.3.0.0 is needed by (installed) libgcc10-10.3.0-6.ppc
....L.... /opt/freeware/lib/libintl.a
....L.... /opt/freeware/lib64/libintl.a
------------------------------
Manoj Kumar
Original Message:
Sent: Mon April 28, 2025 10:00 AM
From: Ayappan P
Subject: dnf not found error on AIX server
Looks like the machine is not in a proper state (from the error., gettext library seems to be missing). You need to run "rpm -Va" command to check all the problematic files and unsatisfied dependencies . Reinstall rpms from which these files should be part of it (especially the library files) and the missing dependencies.
------------------------------
Ayappan P
Original Message:
Sent: Mon April 28, 2025 09:44 AM
From: Manoj Kumar
Subject: dnf not found error on AIX server
Any further help please?
------------------------------
Manoj Kumar
Original Message:
Sent: Thu April 17, 2025 03:49 AM
From: Manoj Kumar
Subject: dnf not found error on AIX server
Thank you after running rpm -reinstall python3.9-3.9.20-1.aix7.1.ppc.rpm. It is installed.
But when I running dnf check it is giving the following error.
/# dnf check
exec(): 0509-036 Cannot load program /opt/freeware/bin/python3.9 because of the following errors:
0509-022 Cannot load module /opt/freeware/lib64/libpython3.9.a(libpython3.9.so).
0509-150 Dependent module /opt/freeware/lib/libintl.a(libintl.so.8) could not be loaded.
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.8).
0509-026 System error: A file or directory in the path name does not exist.
------------------------------
Manoj Kumar
Original Message:
Sent: Wed April 16, 2025 08:32 AM
From: Ayappan P
Subject: dnf not found error on AIX server
Use "rpm --reinstall <rpm> "
------------------------------
Ayappan P
Original Message:
Sent: Wed April 16, 2025 05:56 AM
From: Manoj Kumar
Subject: dnf not found error on AIX server
Hi Ayappan,
We tried to install it manually but it is showing already installed. What would be next?
root@:/mnt/python3# ls -rlt
-rwxr-x--- 1 c36661pa c36661pa 42388945 Apr 04 04:49 python3.9-3.9.20-1.aix7.1.ppc.rpm
root@:/mnt/python3# rpm -Uvh python3.9-3.9.20-1.aix7.1.ppc.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package python3.9-3.9.20-1.ppc is already installed
# rpm -qa|grep -i python3
rpm-python3.9-4.15.1-64_4.ppc
rpm-python3-4.15.1-64_4.ppc
python3.9-3.9.20-1.ppc
python3-3.9.20-1.ppc
python3.9-libcomps-0.1.15-101.ppc
python3.9-libdnf-0.39.1-64_52.ppc
python3.9-hawkey-0.39.1-64_52.ppc
python3.9-gpg-1.13.1-101.ppc
python3.9-dnf-4.2.17-64_54.ppc
python3-dnf-4.2.17-64_54.ppc
python3.9-librepo-1.11.0-103.ppc
python3-librepo-1.11.0-103.ppc
python3-gpg-1.13.1-101.ppc
python3-hawkey-0.39.1-64_52.ppc
python3-libdnf-0.39.1-64_52.ppc
python3-libcomps-0.1.15-101.ppc
------------------------------
Manoj Kumar
Original Message:
Sent: Wed April 16, 2025 12:25 AM
From: Ayappan P
Subject: dnf not found error on AIX server
As you can see, the files are modified. The main binary python3.9 is missing and the libraries are now symlinks.
Please re-install python3.9 rpm manually.
------------------------------
Ayappan P
Original Message:
Sent: Tue April 15, 2025 10:16 AM
From: Manoj Kumar
Subject: dnf not found error on AIX server
PFB.
/# rpm -V python3.9
missing /opt/freeware/bin/python3.9
....L.... /opt/freeware/lib/libpython3.9.a
....L.... /opt/freeware/lib64/libpython3.9.a
------------------------------
Manoj Kumar
Original Message:
Sent: Tue April 15, 2025 10:07 AM
From: Ayappan P
Subject: dnf not found error on AIX server
Run "rpm -V" on python3.9
rpm -V python3.9
------------------------------
Ayappan P
Original Message:
Sent: Tue April 15, 2025 09:57 AM
From: Manoj Kumar
Subject: dnf not found error on AIX server
Hi Team,
Can we have update on it?
------------------------------
Manoj Kumar
Original Message:
Sent: Tue April 08, 2025 12:06 PM
From: Manoj Kumar
Subject: dnf not found error on AIX server
Please find below. That means nothing is missing?
root@:/# rpm -V python3-3.9.20-1
root@:/#
------------------------------
Manoj Kumar
Original Message:
Sent: Mon April 07, 2025 05:40 AM
From: SANGAMESH MALLAYYA
Subject: dnf not found error on AIX server
Hi Manoj,
Can you check what are all the files are missing by installed python3 package with "rpm -V python3-3.9.20-1"
------------------------------
SANGAMESH
Original Message:
Sent: Fri April 04, 2025 05:07 AM
From: Manoj Kumar
Subject: dnf not found error on AIX server
Hi Team,
After upgrading OS from 7.2 to 7.3, we are getting error dnf not found. We did lot of upgrade but first time we see this error. We can see python3.9 is missing from /opt/freeware/bin path. Can you please suggest?
root@host:/opt# /opt/freeware/bin/dnf list
ksh: /opt/freeware/bin/dnf: not found.
root@host:/opt# ls -dl /opt/freeware/bin/dnf
lrwxrwxrwx 1 root system 5 Feb 19 00:48 /opt/freeware/bin/dnf -> dnf-3
root@host:/opt# head -1 /opt/freeware/bin/dnf
#!/opt/freeware/bin/python3.9
root@host:/opt# ls -ld /opt/freeware/bin/python3.9
ls: 0653-341 The file /opt/freeware/bin/python3.9 does not exist.
root@host:/opt# ls -ld /opt/freeware/bin/python3
lrwxrwxrwx 1 root system 9 Oct 01 2024 /opt/freeware/bin/python3 -> python3.9
root@host:/opt# ls -ld /opt/freeware/bin/python3
lrwxrwxrwx 1 root system 9 Oct 01 2024 /opt/freeware/bin/python3 -> python3.9
root@host:/opt# ls -ld /opt/freeware/bin/python3.9
ls: 0653-341 The file /opt/freeware/bin/python3.9 does not exist.
root@host:/opt# file /opt/freeware/bin/python3
/opt/freeware/bin/python3: symbolic link to python3.9.
root@host:/opt# file /opt/freeware/bin/dnf
/opt/freeware/bin/dnf: shell script
root@host:/opt# dnf
ksh: dnf: not found.
root@host:/opt# head -1 /opt/freeware/bin/dnf
#!/opt/freeware/bin/python3.9
root@host:/opt#
root@host:/opt# rpm -qa --last|grep -i python3
1743732691 python3-librepo-1.11.0-103.ppc Thu Apr 3 22:11:31 EDT 2025
1743732691 python3-libdnf-0.39.1-64_52.ppc Thu Apr 3 22:11:31 EDT 2025
1743732691 python3-libcomps-0.1.15-101.ppc Thu Apr 3 22:11:31 EDT 2025
1743732691 python3-hawkey-0.39.1-64_52.ppc Thu Apr 3 22:11:31 EDT 2025
1743732691 python3-gpg-1.13.1-101.ppc Thu Apr 3 22:11:31 EDT 2025
1743732690 python3.9-librepo-1.11.0-103.ppc Thu Apr 3 22:11:30 EDT 2025
1743732690 python3.9-gpg-1.13.1-101.ppc Thu Apr 3 22:11:30 EDT 2025
1743732690 python3.9-dnf-4.2.17-64_54.ppc Thu Apr 3 22:11:30 EDT 2025
1743732690 python3-dnf-4.2.17-64_54.ppc Thu Apr 3 22:11:30 EDT 2025
1743732689 python3.9-libdnf-0.39.1-64_52.ppc Thu Apr 3 22:11:29 EDT 2025
1743732689 python3.9-hawkey-0.39.1-64_52.ppc Thu Apr 3 22:11:29 EDT 2025
1743732685 python3.9-libcomps-0.1.15-101.ppc Thu Apr 3 22:11:25 EDT 2025
1743732677 python3.9-3.9.20-1.ppc Thu Apr 3 22:11:17 EDT 2025
1743732677 python3-3.9.20-1.ppc Thu Apr 3 22:11:17 EDT 2025
1743732473 rpm-python3.9-4.15.1-64_4.ppc Thu Apr 3 22:07:53 EDT 2025
1743732473 rpm-python3-4.15.1-64_4.ppc Thu Apr 3 22:07:53 EDT 2025
------------------------------
Manoj Kumar
------------------------------