Hi Team,
In the process of python install on AIX 7.2 i have download required script dnf_aixtoolbox.sh and ran in AIX level.
Its saying yum/dnf is already installed and in lslpp |grep -i python showing python filesets installed but when i am running dnf / yum its saying dnf / yum is not found.
Any leads would appreciate. Below are the details for the same.
Below is the output when i am running toolbox :-
Attempting download of dnf_bundle_aix_71_72.tar ...
Saving to 'dnf_bundle_aix_71_72.tar'...
208 MB received in 3 minutes (1.11 MB/sec)
Extracting dnf_bundle_aix_71_72.tar ...
x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991206 bytes, 1936 tape blocks
x dnf-4.2.17-32_4.aix7.1.noarch.rpm, 11135 bytes, 22 tape blocks
x dnf-automatic-4.2.17-32_4.aix7.1.noarch.rpm, 12450 bytes, 25 tape blocks
x dnf-data-4.2.17-32_4.aix7.1.noarch.rpm, 23693 bytes, 47 tape blocks
x extra_list, 384 bytes, 1 tape blocks
x install_dnf.sh, 13552 bytes, 27 tape blocks
x libcomps-0.1.15-32_1.aix7.1.ppc.rpm, 1273688 bytes, 2488 tape blocks
x libdnf-0.39.1-32_3.aix7.1.ppc.rpm, 15816971 bytes, 30893 tape blocks
x libmodulemd-1.5.2-32_2.aix7.1.ppc.rpm, 3433754 bytes, 6707 tape blocks
x librepo-1.11.0-32_2.aix7.1.ppc.rpm, 3653390 bytes, 7136 tape blocks
x libsmartcols-2.34-32_1.aix7.1.ppc.rpm, 183412 bytes, 359 tape blocks
x libsolv-0.7.9-32_3.aix7.1.ppc.rpm, 1533540 bytes, 2996 tape blocks
x libzstd-1.4.4-32_1.aix7.1.ppc.rpm, 469194 bytes, 917 tape blocks
x p11-kit-0.23.22-0.aix7.1.ppc.rpm, 2148539 bytes, 4197 tape blocks
x p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm, 274086 bytes, 536 tape blocks
x python3-3.9.16-0.aix7.1.ppc.rpm, 8920 bytes, 18 tape blocks
x python3-dateutil-2.8.0-2.aix7.1.noarch.rpm, 6128 bytes, 12 tape blocks
x python3-devel-3.9.16-0.aix7.1.ppc.rpm, 7699 bytes, 16 tape blocks
x python3-dnf-4.2.17-32_4.aix7.1.noarch.rpm, 7598 bytes, 15 tape blocks
x python3-dnf-plugin-migrate-4.0.16-32_2.aix7.1.noarch.rpm, 6568 bytes, 13 tape blocks
x python3-dnf-plugins-core-4.0.16-32_2.aix7.1.noarch.rpm, 6776 bytes, 14 tape blocks
x python3-gpg-1.13.1-32_3.aix7.1.ppc.rpm, 7040 bytes, 14 tape blocks
x python3-hawkey-0.39.1-32_3.aix7.1.ppc.rpm, 23264 bytes, 46 tape blocks
x python3-idle-3.9.16-0.aix7.1.ppc.rpm, 7283 bytes, 15 tape blocks
x python3-libcomps-0.1.15-32_1.aix7.1.ppc.rpm, 13360 bytes, 27 tape blocks
x python3-libdnf-0.39.1-32_3.aix7.1.ppc.rpm, 23264 bytes, 46 tape blocks
x python3-librepo-1.11.0-32_2.aix7.1.ppc.rpm, 12860 bytes, 26 tape blocks
x python3-six-1.13.0-2.aix7.1.noarch.rpm, 5820 bytes, 12 tape blocks
x python3-test-3.9.16-0.aix7.1.ppc.rpm, 6228 bytes, 13 tape blocks
x python3-tkinter-3.9.16-0.aix7.1.ppc.rpm, 6120 bytes, 12 tape blocks
x python3.9-3.9.16-0.aix7.1.ppc.rpm, 56782290 bytes, 110903 tape blocks
x python3.9-dateutil-2.8.0-2.aix7.1.noarch.rpm, 310485 bytes, 607 tape blocks
x python3.9-devel-3.9.16-0.aix7.1.ppc.rpm, 19947643 bytes, 38961 tape blocks
x python3.9-dnf-4.2.17-32_4.aix7.1.noarch.rpm, 196779 bytes, 385 tape blocks
x python3.9-dnf-plugin-migrate-4.0.16-32_2.aix7.1.noarch.rpm, 8242 bytes, 17 tape blocks
x python3.9-dnf-plugins-core-4.0.16-32_2.aix7.1.noarch.rpm, 33639 bytes, 66 tape blocks
x python3.9-gpg-1.13.1-32_3.aix7.1.ppc.rpm, 1192531 bytes, 2330 tape blocks
x python3.9-hawkey-0.39.1-32_3.aix7.1.ppc.rpm, 3116653 bytes, 6088 tape blocks
x python3.9-idle-3.9.16-0.aix7.1.ppc.rpm, 2328852 bytes, 4549 tape blocks
x python3.9-libcomps-0.1.15-32_1.aix7.1.ppc.rpm, 1049812 bytes, 2051 tape blocks
x python3.9-libdnf-0.39.1-32_3.aix7.1.ppc.rpm, 22550948 bytes, 44045 tape blocks
x python3.9-librepo-1.11.0-32_2.aix7.1.ppc.rpm, 2293000 bytes, 4479 tape blocks
x python3.9-six-1.13.0-2.aix7.1.noarch.rpm, 45630 bytes, 90 tape blocks
x python3.9-test-3.9.16-0.aix7.1.ppc.rpm, 33159212 bytes, 64765 tape blocks
x python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm, 1162787 bytes, 2272 tape blocks
x rpm-python3-4.15.1-32_2.aix7.1.ppc.rpm, 9496 bytes, 19 tape blocks
x rpm-python3.9-4.15.1-32_2.aix7.1.ppc.rpm, 98982 bytes, 194 tape blocks
x rpm.rte, 43051008 bytes, 84084 tape blocks
x yum-4.2.17-32_4.aix7.1.noarch.rpm, 8634 bytes, 17 tape blocks
x zchunk-1.1.4-32_2.aix7.1.ppc.rpm, 554294 bytes, 1083 tape blocks
x zchunk-devel-1.1.4-32_2.aix7.1.ppc.rpm, 19256 bytes, 38 tape blocks
x zchunk-libs-1.1.4-32_2.aix7.1.ppc.rpm, 534032 bytes, 1044 tape blocks
Installing rpm.rte at the latest version ...
This may take several minutes depending on the number of rpms installed...
+-----------------------------------------------------------------------------+
Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...
WARNINGS
--------
Problems described in this section are not likely to be the source of any
immediate or serious failures, but further actions may be necessary or
desired.
Already Installed
-----------------
The number of selected filesets that are either already installed
or effectively installed through superseding filesets is 1. See
the summaries at the end of this installation for details.
NOTE: Base level filesets may be reinstalled using the "Force"
option (-F flag), or they may be removed, using the deinstall or
"Remove Software Products" facility (-u flag), and then reinstalled.
<< End of Warning Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
1 Selected to be installed, of which:
1 Already installed (directly or via superseding filesets)
----
0 Total to be installed
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
rpm.rte 4.15.1.1011 Already installed
Checking whether any of the rpms from dnf_bundle are already installed...
Takes couple of minutes to process.
ca-certificates-2023.2.60-0 is already installed
dnf-4.2.17-32_4 is already installed
dnf-automatic-4.2.17-32_4 is already installed
dnf-data-4.2.17-32_4 is already installed
libcomps-0.1.15-32_1 is already installed
libdnf-0.39.1-32_3 is already installed
libmodulemd-1.5.2-32_2 is already installed
librepo-1.11.0-32_2 is already installed
libsmartcols-2.34-32_1 is already installed
libsolv-0.7.9-32_3 is already installed
libzstd-1.4.4-32_1 is already installed
p11-kit-0.23.22-0 is already installed
p11-kit-tools-0.23.22-0 is already installed
python3-3.9.16-0 is already installed
python3-dateutil-2.8.0-2 is already installed
python3-dnf-4.2.17-32_4 is already installed
python3-dnf-plugin-migrate-4.0.16-32_2 is already installed
python3-dnf-plugins-core-4.0.16-32_2 is already installed
python3-gpg-1.13.1-32_3 is already installed
python3-hawkey-0.39.1-32_3 is already installed
python3-libcomps-0.1.15-32_1 is already installed
python3-libdnf-0.39.1-32_3 is already installed
python3-librepo-1.11.0-32_2 is already installed
python3-six-1.13.0-2 is already installed
Skipping python3.9-3.9.16-0 as higher version python3.9-3.9.20-1.ppc is installed.
python3.9-dateutil-2.8.0-2 is already installed
python3.9-dnf-4.2.17-32_4 is already installed
python3.9-dnf-plugin-migrate-4.0.16-32_2 is already installed
python3.9-dnf-plugins-core-4.0.16-32_2 is already installed
python3.9-gpg-1.13.1-32_3 is already installed
python3.9-hawkey-0.39.1-32_3 is already installed
python3.9-libcomps-0.1.15-32_1 is already installed
python3.9-libdnf-0.39.1-32_3 is already installed
python3.9-librepo-1.11.0-32_2 is already installed
python3.9-six-1.13.0-2 is already installed
rpm-python3-4.15.1-32_2 is already installed
rpm-python3.9-4.15.1-32_2 is already installed
zchunk-libs-1.1.4-32_2 is already installed
dnf and all it's dependencies are already installed.
#########
bash-5.0# ls -ltr |grep -
bash-5.0# pwd
/opt/freeware/bin
bash-5.0# ls -ltr |grep -i dnf
-rwxr-xr-x 1 root system 1297 Jun 29 2023 dnf-automatic
-rwxr-xr-x 1 root system 1960 Jun 29 2023 dnf-3
lrwxrwxrwx 1 root system 5 Feb 14 14:39 dnf -> dnf-3
lrwxrwxrwx 1 root system 5 Feb 14 14:39 yum -> dnf-3
bash-5.0#
bash-5.0# dnf-3 list
bash: dnf-3: command not found
bash-5.0# yum list
bash: yum: command not found
bash-5.0# python
bash: python: command not found
bash-5.0# which python
no python in /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /usr/java14/jre/bin /usr/java14/bin
bash-5.0# whereis python
python:
bash-5.0#
bash-5.0#
bash-5.0#
bash-5.0# lslpp -l |grep -i python
bash-5.0# rpm -qa |grep -i python
python3-3.9.16-0.ppc
rpm-python3.9-4.15.1-32_2.ppc
python3.9-hawkey-0.39.1-32_3.ppc
python3.9-librepo-1.11.0-32_2.ppc
python3.9-libcomps-0.1.15-32_1.ppc
python3-libcomps-0.1.15-32_1.ppc
python3-librepo-1.11.0-32_2.ppc
python3-hawkey-0.39.1-32_3.ppc
rpm-python3-4.15.1-32_2.ppc
python3-bcrypt-3.2.2-1.ppc
python3.9-dnf-4.2.17-32_4.noarch
python3.9-dnf-plugins-core-4.0.16-32_2.noarch
python3.9-six-1.13.0-2.noarch
python3-dnf-plugin-migrate-4.0.16-32_2.noarch
python3-dateutil-2.8.0-2.noarch
python3.9-libdnf-0.39.1-32_3.ppc
python3.9-gpg-1.13.1-32_3.ppc
python3-gpg-1.13.1-32_3.ppc
python3-libdnf-0.39.1-32_3.ppc
python3.9-3.9.20-1.ppc
python3-3.9.20-1.ppc
python3-dnf-4.2.17-32_4.noarch
python3.9-dateutil-2.8.0-2.noarch
python3.9-dnf-plugin-migrate-4.0.16-32_2.noarch
python3-six-1.13.0-2.noarch
python3-dnf-plugins-core-4.0.16-32_2.noarch
bash-5.0#
##########################################
As second method i have downloaded yum bundle manually and trying to install the rpms but showing the errors of
bash-5.0# rpm -Uvh *
error: Failed dependencies:
libtcl8.4.so is needed by python-2.7.10-1.ppc
libtk8.4.so is needed by python-2.7.10-1.ppc
bash-5.0#
i have completed the above command with --nodeps
but dnf and yum unable to find in server level
Please suggest me to resolve the issue.
------------------------------
kiran kumar
------------------------------