Here is the output.
Original Message:
Sent: Tue October 17, 2023 08:38 AM
From: SANGAMESH MALLAYYA
Subject: dnf installation failed on AIX 7.3
Hi Hari,
Can you show the output of "ls -l /opt/freeware/lib/libgcc_s.a" and "ar -X32_64 -tv /opt/freeware/lib/libgcc_s.a" ?
------------------------------
SANGAMESH
Original Message:
Sent: Sun October 15, 2023 08:02 PM
From: Hari Kiran
Subject: dnf installation failed on AIX 7.3
I tried to re-install and now I see dnf under /opt/freeware/bin. Can you please suggest how to fix the error below?
/opt/freeware/bin#ls -ltr | grep dnf
-rwxr-xr-x 1 root system 1290 Jun 29 02:57 dnf-automatic
-rwxr-xr-x 1 root system 2022 Jun 29 02:57 dnf-3
lrwxrwxrwx 1 root system 5 Oct 15 18:31 dnf -> dnf-3
#/opt/freeware/bin/dnf check
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 58, 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/lib64/python3.9/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib64/python3.9/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-022 Cannot load module /opt/freeware/lib64/python3.9/site-packages/libdnf/_common_types.so.
0509-150 Dependent module /opt/freeware/lib/libgcc_s.a(shr.o) could not be loaded.
0509-103 The module has an invalid magic number.
Re-install Output :
#./dnf_aixtoolbox.sh -d
Attempting download of dnf_bundle_aix_73.tar ...
Saving to 'dnf_bundle_aix_73.tar'...
216 MB received in 107 seconds (2.02 MB/sec)
Extracting dnf_bundle_aix_73.tar ...
x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991206 bytes, 1936 tape blocks
x dnf-4.2.17-64_6.aix7.1.noarch.rpm, 11392 bytes, 23 tape blocks
x dnf-automatic-4.2.17-64_6.aix7.1.noarch.rpm, 12850 bytes, 26 tape blocks
x dnf-data-4.2.17-64_6.aix7.1.noarch.rpm, 26209 bytes, 52 tape blocks
x extra_list, 384 bytes, 1 tape blocks
x install_dnf.sh, 15769 bytes, 31 tape blocks
x libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1312174 bytes, 2563 tape blocks
x libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 16515586 bytes, 32258 tape blocks
x libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm, 3562173 bytes, 6958 tape blocks
x librepo-1.11.0-64_2.aix7.1.ppc.rpm, 4010051 bytes, 7833 tape blocks
x libsmartcols-2.34-64_1.aix7.1.ppc.rpm, 187658 bytes, 367 tape blocks
x libsolv-0.7.9-64_4.aix7.1.ppc.rpm, 1556772 bytes, 3041 tape blocks
x libzstd-1.4.4-64_2.aix7.1.ppc.rpm, 473729 bytes, 926 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-64_6.aix7.1.noarch.rpm, 7963 bytes, 16 tape blocks
x python3-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 6580 bytes, 13 tape blocks
x python3-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 6792 bytes, 14 tape blocks
x python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 5724 bytes, 12 tape blocks
x python3-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
x python3-idle-3.9.16-0.aix7.1.ppc.rpm, 7283 bytes, 15 tape blocks
x python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 13276 bytes, 26 tape blocks
x python3-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
x python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 12776 bytes, 25 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-64_6.aix7.1.noarch.rpm, 197158 bytes, 386 tape blocks
x python3.9-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 8297 bytes, 17 tape blocks
x python3.9-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 33701 bytes, 66 tape blocks
x python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 1474348 bytes, 2880 tape blocks
x python3.9-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 3339964 bytes, 6524 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-64_1.aix7.1.ppc.rpm, 1075760 bytes, 2102 tape blocks
x python3.9-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 24255270 bytes, 47374 tape blocks
x python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 2471631 bytes, 4828 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-64_4.aix7.1.ppc.rpm, 9704 bytes, 19 tape blocks
x rpm-python3.9-4.15.1-64_4.aix7.1.ppc.rpm, 100570 bytes, 197 tape blocks
x rpm.rte, 47110144 bytes, 92012 tape blocks
x rpmlibs32-4.15.1.0-32_2.aix7.1.ppc.rpm, 732104 bytes, 1430 tape blocks
x yum-4.2.17-64_6.aix7.1.noarch.rpm, 11234 bytes, 22 tape blocks
x zchunk-1.1.4-64_3.aix7.1.ppc.rpm, 491789 bytes, 961 tape blocks
x zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm, 19314 bytes, 38 tape blocks
x zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm, 560016 bytes, 1094 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.2009 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-64_6 is already installed
dnf-automatic-4.2.17-64_6 is already installed
dnf-data-4.2.17-64_6 is already installed
libcomps-0.1.15-64_1 is already installed
libdnf-0.39.1-64_5 is already installed
libmodulemd-1.5.2-64_2 is already installed
librepo-1.11.0-64_2 is already installed
libsmartcols-2.34-64_1 is already installed
libsolv-0.7.9-64_4 is already installed
libzstd-1.4.4-64_2 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-dnf-4.2.17-64_6 is already installed
python3-gpg-1.13.1-64_3 is already installed
python3-hawkey-0.39.1-64_5 is already installed
python3-libcomps-0.1.15-64_1 is already installed
python3-libdnf-0.39.1-64_5 is already installed
python3-librepo-1.11.0-64_2 is already installed
python3.9-3.9.16-0 is already installed
python3.9-dnf-4.2.17-64_6 is already installed
python3.9-gpg-1.13.1-64_3 is already installed
python3.9-hawkey-0.39.1-64_5 is already installed
python3.9-libcomps-0.1.15-64_1 is already installed
python3.9-libdnf-0.39.1-64_5 is already installed
python3.9-librepo-1.11.0-64_2 is already installed
rpm-python3-4.15.1-64_4 is already installed
rpm-python3.9-4.15.1-64_4 is already installed
zchunk-libs-1.1.4-64_3 is already installed
dnf and all it's dependencies are already installed.
------------------------------
Hari Kiran
Original Message:
Sent: Fri October 13, 2023 11:03 AM
From: Hari Kiran
Subject: dnf installation failed on AIX 7.3
Sanket,
I didn't find dnf under /opt/freeware/bin
#/opt/freeware/bin/dnf update
ksh: /opt/freeware/bin/dnf: not found.
#ls -ltr /opt/freeware/bin
total 28016
-rwxr-xr-x 1 root system 4653 Jun 24 2008 gettext.sh
-rwxr-xr-x 1 root system 44192 Jun 24 2008 msginit
-rwxr-xr-x 1 root system 95159 Jun 24 2008 msggrep
-rwxr-xr-x 1 root system 65472 Jun 24 2008 msgfmt
-rwxr-xr-x 1 root system 18248 Jun 24 2008 msgfilter
-rwxr-xr-x 1 root system 9904 Jun 24 2008 msgexec
-rwxr-xr-x 1 root system 10846 Jun 24 2008 msgen
-rwxr-xr-x 1 root system 11017 Jun 24 2008 msgconv
-rwxr-xr-x 1 root system 13933 Jun 24 2008 msgcomm
-rwxr-xr-x 1 root system 10866 Jun 24 2008 msgcmp
-rwxr-xr-x 1 root system 14690 Jun 24 2008 msgcat
-rwxr-xr-x 1 root system 14617 Jun 24 2008 msgattrib
-rwxr-xr-x 1 root system 30813 Jun 24 2008 gettext
-rwxr-xr-x 1 root system 31734 Jun 24 2008 envsubst
-rwxr-xr-x 1 root system 216955 Jun 24 2008 xgettext
-rwxr-xr-x 1 root system 7851 Jun 24 2008 recode-sr-latin
-rwxr-xr-x 1 root system 30570 Jun 24 2008 ngettext
-rwxr-xr-x 1 root system 13286 Jun 24 2008 msguniq
-rwxr-xr-x 1 root system 23801 Jun 24 2008 msgunfmt
-rwxr-xr-x 1 root system 38166 Jun 24 2008 msgmerge
-rwxr-xr-x 2 root system 36619 Jan 14 2010 pstruct
-rwxr-xr-x 1 root system 2535 Jan 14 2010 podselect
-rwxr-xr-x 1 root system 3735 Jan 14 2010 podchecker
-rwxr-xr-x 1 root system 3352 Jan 14 2010 pod2usage
-rwxr-xr-x 1 root system 7810 Jan 14 2010 pod2text
-rwxr-xr-x 1 root system 19563 Jan 14 2010 pod2man
-rwxr-xr-x 1 root system 10273 Jan 14 2010 pod2latex
-rwxr-xr-x 1 root system 2356 Jan 14 2010 pod2html
-rwxr-xr-x 1 root system 11855 Jan 14 2010 cpan
-rwxr-xr-x 2 root system 36619 Jan 14 2010 c2ph
-rwxr-xr-x 1 root system 4111 Jan 14 2010 xsubpp
-rwxr-xr-x 1 root system 17490 Jan 14 2010 splain
-rwxr-xr-x 2 root system 53361 Jan 14 2010 s2p
-rwxr-xr-x 2 root system 53361 Jan 14 2010 psed
-rwxr-xr-x 1 root system 7953 Jan 14 2010 prove
-rwxr-xr-x 1 root system 4549 Jan 14 2010 pl2pm
-rwxr-xr-x 1 root system 6687 Jan 14 2010 piconv
-rwxr-xr-x 2 root system 44787 Jan 14 2010 perlthanks
-rwxr-xr-x 1 root system 12301 Jan 14 2010 perlivp
-rwxr-xr-x 1 root system 242 Jan 14 2010 perldoc
-rwxr-xr-x 1 root system 17971 Jan 14 2010 perlcc
-rwxr-xr-x 2 root system 44787 Jan 14 2010 perlbug
-rwxr-xr-x 1 root system 15742 Jan 14 2010 libnetcfg
-rwxr-xr-x 1 root system 4271 Jan 14 2010 instmodsh
-rwxr-xr-x 1 root system 60214 Jan 14 2010 h2xs
-rwxr-xr-x 1 root system 27950 Jan 14 2010 h2ph
-rwxr-xr-x 1 root system 24134 Jan 14 2010 find2perl
-rwxr-xr-x 1 root system 39180 Jan 14 2010 enc2xs
-rwxr-xr-x 1 root system 24098 Jan 14 2010 dprofpp
-rwxr-xr-x 1 root system 6534 Jan 14 2010 corelist
-rwxr-xr-x 2 root system 97338 Jan 14 2010 perl_64bit
-rwxr-xr-x 2 root system 97338 Jan 14 2010 perl5.8.8_64bit
-rwxr-xr-x 2 root system 96131 Jan 14 2010 perl5.8.8
-rwxr-xr-x 2 root system 96131 Jan 14 2010 perl
-rwxr-xr-x 1 root system 153088 Jan 14 2010 a2p_64bit
-rwxr-xr-x 1 root system 149441 Jan 14 2010 a2p
-rwxr-xr-x 1 root system 27557 Jul 06 2010 infokey
-rwxr-xr-x 1 root system 205486 Jul 06 2010 info
-rwxr-xr-x 1 root system 1259 Oct 01 2010 bzmore
-rwxr-xr-x 1 root system 1677 Oct 01 2010 bzgrep
-rwxr-xr-x 1 root system 2128 Oct 01 2010 bzdiff
-rwxr-xr-x 1 root system 2216 Nov 21 2011 traptoemail
-rwxr-xr-x 1 root system 26173 Nov 21 2011 snmpconf
-rwxr-xr-x 1 root system 33712 Nov 21 2011 snmpcheck
-rwxr-xr-x 1 root system 30756 Nov 21 2011 snmp-bridge-mib
-rwxr-xr-x 1 root system 6690 Nov 21 2011 ipf-mod.pl
-rwxr-xr-x 1 root system 15532 Nov 21 2011 fixproc
-rwxr-xr-x 1 root system 8780 Nov 21 2011 mib2c-update
-rwxr-xr-x 1 root system 8552 Nov 21 2011 snmpwalk
-rwxr-xr-x 1 root system 18229 Nov 21 2011 snmpvacm
-rwxr-xr-x 1 root system 23116 Nov 21 2011 snmpusm
-rwxr-xr-x 1 root system 8887 Nov 21 2011 snmptrap
-rwxr-xr-x 1 root system 10307 Nov 21 2011 snmptranslate
-rwxr-xr-x 1 root system 11521 Nov 21 2011 snmptest
-rwxr-xr-x 1 root system 16035 Nov 21 2011 snmptable
-rwxr-xr-x 1 root system 8962 Nov 21 2011 snmpstatus
-rwxr-xr-x 1 root system 6775 Nov 21 2011 snmpset
-rwxr-xr-x 1 root system 48373 Nov 21 2011 snmpnetstat
-rwxr-xr-x 1 root system 5528 Nov 21 2011 snmpgetnext
-rwxr-xr-x 1 root system 5512 Nov 21 2011 snmpget
-rwxr-xr-x 1 root system 8389 Nov 21 2011 snmpdf
-rwxr-xr-x 1 root system 14605 Nov 21 2011 snmpdelta
-rwxr-xr-x 1 root system 7701 Nov 21 2011 snmpbulkwalk
-rwxr-xr-x 1 root system 5636 Nov 21 2011 snmpbulkget
-rwxr-xr-x 1 root system 15102 Nov 21 2011 encode_keychange
-rwxr-xr-x 1 root system 631326 Jul 09 2012 cpp
-rwxr-xr-x 2 root system 36930 Jul 10 2012 powerpc-ibm-aix5.3.0.0-gcc-ranlib
-rwxr-xr-x 2 root system 36906 Jul 10 2012 powerpc-ibm-aix5.3.0.0-gcc-nm
-rwxr-xr-x 2 root system 36938 Jul 10 2012 powerpc-ibm-aix5.3.0.0-gcc-ar
-rwxr-xr-x 3 root system 630126 Jul 10 2012 powerpc-ibm-aix5.3.0.0-gcc-4.7.1
-rwxr-xr-x 3 root system 630126 Jul 10 2012 powerpc-ibm-aix5.3.0.0-gcc
-rwxr-xr-x 1 root system 266314 Jul 10 2012 gcov
-rwxr-xr-x 2 root system 36930 Jul 10 2012 gcc-ranlib
-rwxr-xr-x 2 root system 36906 Jul 10 2012 gcc-nm
-rwxr-xr-x 2 root system 36938 Jul 10 2012 gcc-ar
-rwxr-xr-x 3 root system 630126 Jul 10 2012 gcc
-rw------- 1 root system 0 Sep 08 2012 nohup.out
-rwxr-xr-x 1 root system 87 Aug 02 2013 pydoc
-rw-r--r-- 1 root system 1680 Aug 02 2013 python2.7_64-config
-rw-r--r-- 1 root system 90 Aug 02 2013 pydoc_64
-rwxr-xr-x 1 root system 1677 Aug 02 2013 python2.7-config
-rwxr-xr-x 1 root system 84145 Aug 02 2013 python2.7_64
-rwxr-xr-x 1 root system 82966 Aug 02 2013 python2.7
-rwxr-xr-x 1 root system 1568 Dec 12 2013 facter
-rwxr-xr-x 1 root system 22887 Jan 16 2016 iconv
-rwsr-xr-x 1 root system 445885 Jun 21 2016 screen-4.4.0
-rwxr-xr-x 1 root system 7907 Jul 05 2016 pcretest_64
-rwxr-xr-x 1 root system 7783 Jul 05 2016 pcregrep_64
-rwxr-xr-x 1 root system 111100 Jul 05 2016 pcretest
-rwxr-xr-x 1 root system 35953 Jul 05 2016 pcregrep
-rwxr-xr-x 1 root system 35135 Jul 20 2016 idn
-rwxr-xr-x 1 root system 5101 Nov 01 2016 c_rehash
-rwxr-xr-x 1 root system 625746 Nov 01 2016 openssl64
-rwxr-xr-x 1 root system 607691 Nov 01 2016 openssl
-rwxr-xr-x 1 root system 616190 Nov 16 2016 wget
-rwxr-xr-x 1 root system 23175 Nov 16 2016 xmlwf
-rwxr-xr-x 1 root system 7214 Nov 17 2016 fc-validate_64
-rwxr-xr-x 1 root system 6422 Nov 17 2016 fc-validate
-rwxr-xr-x 1 root system 6271 Nov 17 2016 fc-scan_64
-rwxr-xr-x 1 root system 5533 Nov 17 2016 fc-scan
-rwxr-xr-x 1 root system 5986 Nov 17 2016 fc-query_64
-rwxr-xr-x 1 root system 5305 Nov 17 2016 fc-query
-rwxr-xr-x 1 root system 6244 Nov 17 2016 fc-pattern_64
-rwxr-xr-x 1 root system 5554 Nov 17 2016 fc-pattern
-rwxr-xr-x 1 root system 7504 Nov 17 2016 fc-match_64
-rwxr-xr-x 1 root system 6774 Nov 17 2016 fc-match
-rwxr-xr-x 1 root system 6586 Nov 17 2016 fc-list_64
-rwxr-xr-x 1 root system 5848 Nov 17 2016 fc-list
-rwxr-xr-x 1 root system 9259 Nov 17 2016 fc-cat_64
-rwxr-xr-x 1 root system 8331 Nov 17 2016 fc-cat
-rwxr-xr-x 1 root system 10987 Nov 17 2016 fc-cache_64
-rwxr-xr-x 1 root system 9991 Nov 17 2016 fc-cache
-rwxr-xr-x 1 root system 83 Nov 27 2016 testrb
-rwxr-xr-x 1 root system 193 Nov 27 2016 ri
-rwxr-xr-x 1 root system 1325 Nov 27 2016 rake
-rwxr-xr-x 1 root system 551 Nov 27 2016 gem
-rwxr-xr-x 1 root system 4402 Nov 27 2016 erb
-rwxr-xr-x 1 root system 943 Nov 27 2016 rdoc
-rwxr-xr-x 1 root system 323 Nov 27 2016 irb
-rwxr-xr-x 1 root system 77352 Nov 27 2016 ruby
-rwxr-xr-x 1 root system 9600 Nov 28 2016 wish8.6_64
-rwxr-xr-x 1 root system 3240 Nov 28 2016 wish8.6
-rwxr-xr-x 1 root system 3281 Nov 28 2016 tclsh8.6_64
-rwxr-xr-x 1 root system 2824 Nov 28 2016 tclsh8.6
-rwxr-xr-x 1 root system 993675 Jan 09 2017 sqlite3
-rwxr-xr-x 2 root system 187414 Jun 30 2017 zipinfo_64
-rwxr-xr-x 2 root system 190932 Jun 30 2017 zipinfo_32
-rwxr-xr-x 1 root system 2953 Jun 30 2017 zipgrep_64
-rwxr-xr-x 1 root system 2953 Jun 30 2017 zipgrep_32
-rwxr-xr-x 1 root system 90454 Jun 30 2017 unzipsfx_64
-rwxr-xr-x 1 root system 85494 Jun 30 2017 unzipsfx_32
-rwxr-xr-x 2 root system 187414 Jun 30 2017 unzip_64
-rwxr-xr-x 2 root system 190932 Jun 30 2017 unzip_32
-rwxr-xr-x 1 root system 38790 Jun 30 2017 funzip_64
-rwxr-xr-x 1 root system 35308 Jun 30 2017 funzip_32
-rwxr-xr-x 1 root system 26376 Jul 08 2017 install-info
-rwxr-xr-x 1 root system 9688 Feb 26 2018 bzip2recover
-rwxr-xr-x 1 root system 34602 Feb 26 2018 bzip2
-rwxr-xr-x 1 root system 34602 Feb 26 2018 bzcat
-rwxr-xr-x 1 root system 34602 Feb 26 2018 bunzip2
-rwxr-xr-x 1 root system 439688 Jan 30 2020 sudoreplay
-rwxr-xr-x 1 root system 1133946 Jan 30 2020 cvtsudoers
-rwsr-xr-x 1 root system 780232 Jan 30 2020 sudo
-rwxr-xr-x 1 root system 54 Apr 19 2020 rpmspec
-rwxr-xr-x 1 root system 54 Apr 19 2020 rpmsign
-rwxr-xr-x 1 root system 54 Apr 19 2020 rpmkeys
-rwxr-xr-x 1 root system 52 Apr 19 2020 rpmdb
-rwxr-xr-x 1 root system 55 Apr 19 2020 rpmbuild
-rwxr-xr-x 1 root system 55 Apr 19 2020 rpm2cpio
-rwxr-xr-x 1 root system 50 Apr 19 2020 rpm
lrwxrwxrwx 1 root system 6 Jun 17 2021 bzcmp -> bzdiff
lrwxrwxrwx 1 root system 6 Jun 17 2021 bzfgrep -> bzgrep
lrwxrwxrwx 1 root system 6 Jun 17 2021 bzegrep -> bzgrep
lrwxrwxrwx 1 root system 6 Jun 17 2021 bzless -> bzmore
lrwxrwxrwx 1 root system 28 Jun 17 2021 mkpasswd -> /usr/opt/expect/bin/mkpasswd
lrwxrwxrwx 1 root system 16 Jun 17 2021 python2-config_64 -> python2.7-config
lrwxrwxrwx 1 root system 16 Jun 17 2021 python2-config -> python2.7-config
lrwxrwxrwx 1 root system 9 Jun 17 2021 python2 -> python2.7
lrwxrwxrwx 1 root system 14 Jun 17 2021 python-config -> python2-config
lrwxrwxrwx 1 root system 7 Jun 17 2021 python -> python2
lrwxrwxrwx 1 root system 7 Jun 17 2021 python_64 -> python2
lrwxrwxrwx 1 root system 9 Jun 17 2021 python2_64 -> python2.7
lrwxrwxrwx 1 root system 19 Jun 17 2021 python_64-config -> python2.7_64-config
lrwxrwxrwx 1 root system 12 Jun 17 2021 screen -> screen-4.4.0
lrwxrwxrwx 1 root system 8 Jun 17 2021 snmpinform -> snmptrap
lrwxrwxrwx 1 root system 27 Jun 17 2021 ssleay64 -> /opt/freeware/bin/openssl64
lrwxrwxrwx 1 root system 25 Jun 17 2021 ssleay -> /opt/freeware/bin/openssl
lrwxrwxrwx 1 root system 4 Jun 17 2021 sudoedit -> sudo
lrwxrwxrwx 1 root system 11 Jun 17 2021 tclsh_64 -> tclsh8.6_64
lrwxrwxrwx 1 root system 8 Jun 17 2021 tclsh -> tclsh8.6
lrwxrwxrwx 1 root system 10 Jun 17 2021 wish_64 -> with8.6_64
lrwxrwxrwx 1 root system 7 Jun 17 2021 wish -> wish8.6
lrwxrwxrwx 1 root system 22 Jun 17 2021 zgrep -> /usr/opt/rpm/bin/zgrep
lrwxrwxrwx 1 root system 9 Feb 16 2023 funzip -> funzip_64
lrwxrwxrwx 1 root system 11 Feb 16 2023 unzipsfx -> unzipsfx_64
lrwxrwxrwx 1 root system 8 Feb 16 2023 unzip -> unzip_64
lrwxrwxrwx 1 root system 10 Feb 16 2023 zipgrep -> zipgrep_64
lrwxrwxrwx 1 root system 10 Feb 16 2023 zipinfo -> zipinfo_64
-rwxr-xr-x 1 root system 328126 Jun 15 04:37 trust_64
-rwxr-xr-x 1 root system 294992 Jun 15 04:37 trust_32
-rwxr-xr-x 1 root system 42240 Jun 15 04:37 p11-kit_64
-rwxr-xr-x 1 root system 39822 Jun 15 04:37 p11-kit_32
-rwxr-xr-x 1 root system 228418 Jun 28 13:00 python3.9
-rwxr-xr-x 1 root system 87 Jun 28 13:03 pydoc3.9
-rwxr-xr-x 1 root system 1669 Aug 03 07:58 update-ca-bundles
lrwxrwxrwx 1 root system 25 Oct 12 17:52 rpmverify -> /usr/opt/freeware/bin/rpm
lrwxrwxrwx 1 root system 25 Oct 12 17:52 rpmquery -> /usr/opt/freeware/bin/rpm
lrwxrwxrwx 1 root system 22 Oct 12 17:52 gzexe -> /usr/opt/rpm/bin/gzexe
lrwxrwxrwx 1 root system 24 Oct 12 17:52 gendiff -> /usr/opt/rpm/bin/gendiff
lrwxrwxrwx 1 root system 21 Oct 12 17:52 gzip -> /usr/opt/rpm/bin/gzip
lrwxrwxrwx 1 root system 23 Oct 12 17:52 gunzip -> /usr/opt/rpm/bin/gunzip
lrwxrwxrwx 1 root system 21 Oct 12 17:52 zcat -> /usr/opt/rpm/bin/zcat
lrwxrwxrwx 1 root system 22 Oct 12 17:52 patch -> /usr/opt/rpm/bin/patch
lrwxrwxrwx 1 root system 22 Oct 12 17:52 zmore -> /usr/opt/rpm/bin/zmore
lrwxrwxrwx 1 root system 21 Oct 12 17:52 zcmp -> /usr/opt/rpm/bin/zcmp
lrwxrwxrwx 1 root system 21 Oct 12 17:52 znew -> /usr/opt/rpm/bin/znew
lrwxrwxrwx 1 root system 23 Oct 12 17:52 zegrep -> /usr/opt/rpm/bin/zegrep
lrwxrwxrwx 1 root system 22 Oct 12 17:52 zdiff -> /usr/opt/rpm/bin/zdiff
lrwxrwxrwx 1 root system 23 Oct 12 17:52 zforce -> /usr/opt/rpm/bin/zforce
lrwxrwxrwx 1 root system 23 Oct 12 17:52 zfgrep -> /usr/opt/rpm/bin/zfgrep
lrwxrwxrwx 1 root system 22 Oct 12 17:52 zless -> /usr/opt/rpm/bin/zless
lrwxrwxrwx 1 root system 21 Oct 12 17:52 file -> /usr/opt/rpm/bin/file
lrwxrwxrwx 1 root system 8 Oct 12 17:53 pydoc3 -> pydoc3.9
lrwxrwxrwx 1 root system 9 Oct 12 17:53 python3 -> python3.9
lrwxrwxrwx 1 root system 10 Oct 12 17:53 p11-kit -> p11-kit_64
lrwxrwxrwx 1 root system 8 Oct 12 17:53 trust -> trust_64
------------------------------
Hari Kiran
Original Message:
Sent: Fri October 13, 2023 10:52 AM
From: SANKET RATHI
Subject: dnf installation failed on AIX 7.3
Dnf get installed in /opt/freeware/bin path. Please add this path in your PATH or use /opt/freeware/bin/dnf command
Original Message:
Sent: 10/13/2023 10:48:00 AM
From: Hari Kiran
Subject: RE: dnf installation failed on AIX 7.3
Ayappan,
I tried dnf update and got as below :
update
ksh: dnf: not found.
------------------------------
Hari Kiran
Original Message:
Sent: Fri October 13, 2023 03:12 AM
From: Ayappan P
Subject: dnf installation failed on AIX 7.3
Looks like dnf installed successfully. You can try "dnf update". If that is smooth, then things are fine.
------------------------------
Ayappan P
Original Message:
Sent: Thu October 12, 2023 10:24 PM
From: Hari Kiran
Subject: dnf installation failed on AIX 7.3
hi Experts,
I tried to install dnf following the link https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox" title="https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox" href="https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox" rel="noreferrer noopener" target="_blank" class="fui-Link ___10kug0w f3rmtva f1ewtqcl fyind8e f1k6fduh f1w7gpdv fk6fouc fjoy568 figsok6 f1hu3pq6 f11qmguv f19f4twv f1tyq0we f1g0x7ka fhxju0i f1qch9an f1cnd47f fqv5qza f1vmzxwi f1o700av f13mvf36 f1cmlufx f9n3di6 f1ids18y f1tx3yz7 f1deo86v f1eh06m1 f1iescvh fhgqx19 f1olyrje f1p93eir f1nev41a f1h8hb77 f1lqvz6u f10aw75t fsle3fq f17ae5zn">https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox but dnf is failed.
Can you please let me know how to fix this and below is the output after install?
[root@AIXsvr]#./dnf_aixtoolbox.sh -d
Attempting download of dnf_bundle_aix_73.tar ...
Saving to 'dnf_bundle_aix_73.tar'...
216 MB received in 85 seconds (2.55 MB/sec)
Extracting dnf_bundle_aix_73.tar ...
x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991206 bytes, 1936 tape blocks
x dnf-4.2.17-64_6.aix7.1.noarch.rpm, 11392 bytes, 23 tape blocks
x dnf-automatic-4.2.17-64_6.aix7.1.noarch.rpm, 12850 bytes, 26 tape blocks
x dnf-data-4.2.17-64_6.aix7.1.noarch.rpm, 26209 bytes, 52 tape blocks
x extra_list, 384 bytes, 1 tape blocks
x install_dnf.sh, 15769 bytes, 31 tape blocks
x libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1312174 bytes, 2563 tape blocks
x libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 16515586 bytes, 32258 tape blocks
x libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm, 3562173 bytes, 6958 tape blocks
x librepo-1.11.0-64_2.aix7.1.ppc.rpm, 4010051 bytes, 7833 tape blocks
x libsmartcols-2.34-64_1.aix7.1.ppc.rpm, 187658 bytes, 367 tape blocks
x libsolv-0.7.9-64_4.aix7.1.ppc.rpm, 1556772 bytes, 3041 tape blocks
x libzstd-1.4.4-64_2.aix7.1.ppc.rpm, 473729 bytes, 926 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-64_6.aix7.1.noarch.rpm, 7963 bytes, 16 tape blocks
x python3-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 6580 bytes, 13 tape blocks
x python3-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 6792 bytes, 14 tape blocks
x python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 5724 bytes, 12 tape blocks
x python3-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
x python3-idle-3.9.16-0.aix7.1.ppc.rpm, 7283 bytes, 15 tape blocks
x python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 13276 bytes, 26 tape blocks
x python3-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocks
x python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 12776 bytes, 25 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-64_6.aix7.1.noarch.rpm, 197158 bytes, 386 tape blocks
x python3.9-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 8297 bytes, 17 tape blocks
x python3.9-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 33701 bytes, 66 tape blocks
x python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 1474348 bytes, 2880 tape blocks
x python3.9-hawkey-0.39.1-64_5.aix7.1.ppc.rpm, 3339964 bytes, 6524 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-64_1.aix7.1.ppc.rpm, 1075760 bytes, 2102 tape blocks
x python3.9-libdnf-0.39.1-64_5.aix7.1.ppc.rpm, 24255270 bytes, 47374 tape blocks
x python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 2471631 bytes, 4828 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-64_4.aix7.1.ppc.rpm, 9704 bytes, 19 tape blocks
x rpm-python3.9-4.15.1-64_4.aix7.1.ppc.rpm, 100570 bytes, 197 tape blocks
x rpm.rte, 47110144 bytes, 92012 tape blocks
x rpmlibs32-4.15.1.0-32_2.aix7.1.ppc.rpm, 732104 bytes, 1430 tape blocks
x yum-4.2.17-64_6.aix7.1.noarch.rpm, 11234 bytes, 22 tape blocks
x zchunk-1.1.4-64_3.aix7.1.ppc.rpm, 491789 bytes, 961 tape blocks
x zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm, 19314 bytes, 38 tape blocks
x zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm, 560016 bytes, 1094 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...
SUCCESSES
---------
Filesets listed in this section passed pre-installation verification
and will be installed.
Selected Filesets
-----------------
rpm.rte 4.15.1.2009 # RPM Package Manager
<< End of Success Section >>
+-----------------------------------------------------------------------------+
BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
1 Selected to be installed, of which:
1 Passed pre-installation verification
----
1 Total to be installed
+-----------------------------------------------------------------------------+
Installing Software...
+-----------------------------------------------------------------------------+
installp: APPLYING software for:
rpm.rte 4.15.1.2009
Checking if rpm package is already owning
some of the libraries and binaries..
cp: /usr/opt/freeware/lib/libdb-4.a: No such file or directory
cp: /usr/opt/freeware/lib/libdb-4.so: No such file or directory
. . . . . << Copyright notice for rpm.rte >> . . . . . . .
Licensed Materials - Property of IBM
5765CD300
Copyright International Business Machines Corp. 2014, 2020-2023.
Copyright "Cowboy" Ben Alman, 2010.
Copyright Steven Benner (http://stevenbenner.com/), 2013.
Copyright The Regents of the University of California, 1990, 1993, 1994.
Copyright Vasil Dinkov, Vadikom Web Ltd., 2016.
Copyright The Dojo Foundation, 2011.
Copyright Free Software Foundation, Inc., 1989, 1991-2018.
Copyright Dave Furfero, 2011-2014.
Copyright Dimitri van Heesch, 1997-2017.
Copyright The Internet Society (1998).
Copyright Red Hat, Inc., 1998-2003, 2005, 2007, 2009-2011, 2016-2017.
Copyright Red Hat Software, 1995-2002.
Copyright John Resig, 2011.
Copyright System Design and Research, 2003.
Copyright Julian Seward et al., 2002-2015.
Copyright X Consortium, 1994.
All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for rpm.rte >>. . . .
##################################################################
This version of rpm installs files under the path /usr/opt/rpm.
More detailed information on new changes can be found in
/usr/opt/rpm/README file.
##################################################################
Please wait...rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
warning: line 8: It's not recommended to have unversioned Obsoletes: Obsoletes: SysProvides
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o3EMea
+ umask 022
+ cd /opt/freeware/src/packages/BUILD
+ RPM_EC=0
+ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.o7EMeb
+ umask 022
+ cd /opt/freeware/src/packages/BUILD
+ RPM_EC=0
+ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o7EMec
+ umask 022
+ cd /opt/freeware/src/packages/BUILD
+ RPM_EC=0
+ jobs -p
+ exit 0
Processing files: AIX-rpm-7.3.1.3-18.ppc
Wrote: /opt/freeware/src/packages/SRPMS/AIX-rpm-7.3.1.3-18.src.rpm
Wrote: /opt/freeware/src/packages/RPMS/ppc/AIX-rpm-7.3.1.3-18.aix7.3.ppc.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oIEMed
+ umask 022
+ cd /opt/freeware/src/packages/BUILD
+ RPM_EC=0
+ jobs -p
+ exit 0
Successfully updated the Kernel Authorization Table.
Successfully updated the Kernel Role Table.
Successfully updated the Kernel Command Table.
Successfully updated the Kernel Device Table.
Successfully updated the Kernel Object Domain Table.
Successfully updated the Kernel Domains Table.
Successfully updated the Kernel RBAC log level.
Successfully updated the Kernel Authorization Table.
Successfully updated the Kernel Role Table.
Successfully updated the Kernel Command Table.
Successfully updated the Kernel Device Table.
Successfully updated the Kernel Object Domain Table.
Successfully updated the Kernel Domains Table.
Successfully updated the Kernel RBAC log level.
Finished processing all filesets. (Total time: 59 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
rpm.rte 4.15.1.2009 USR APPLY SUCCESS
rpm.rte 4.15.1.2009 ROOT APPLY SUCCESS
Checking whether any of the rpms from dnf_bundle are already installed...
Takes couple of minutes to process.
ca-certificates-2023.2.60-0 will be installed
dnf-4.2.17-64_6 will be installed
dnf-automatic-4.2.17-64_6 will be installed
dnf-data-4.2.17-64_6 will be installed
libcomps-0.1.15-64_1 will be installed
libdnf-0.39.1-64_5 will be installed
libmodulemd-1.5.2-64_2 will be installed
librepo-1.11.0-64_2 will be installed
libsmartcols-2.34-64_1 will be installed
libsolv-0.7.9-64_4 will be installed
libzstd-1.4.4-64_2 will be installed
p11-kit-0.23.22-0 will be installed
p11-kit-tools-0.23.22-0 will be installed
python3-3.9.16-0 will be installed
python3-dnf-4.2.17-64_6 will be installed
python3-gpg-1.13.1-64_3 will be installed
python3-hawkey-0.39.1-64_5 will be installed
python3-libcomps-0.1.15-64_1 will be installed
python3-libdnf-0.39.1-64_5 will be installed
python3-librepo-1.11.0-64_2 will be installed
python3.9-3.9.16-0 will be installed
python3.9-dnf-4.2.17-64_6 will be installed
python3.9-gpg-1.13.1-64_3 will be installed
python3.9-hawkey-0.39.1-64_5 will be installed
python3.9-libcomps-0.1.15-64_1 will be installed
python3.9-libdnf-0.39.1-64_5 will be installed
python3.9-librepo-1.11.0-64_2 will be installed
rpm-python3-4.15.1-64_4 will be installed
rpm-python3.9-4.15.1-64_4 will be installed
zchunk-libs-1.1.4-64_3 will be installed
Installing the packages...
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:python3.9-3.9.16-0 ################################# [ 3%]
2:python3-3.9.16-0 ################################# [ 7%]
3:libzstd-1.4.4-64_2 ################################# [ 10%]
4:libmodulemd-1.5.2-64_2 ################################# [ 13%]
5:libsolv-0.7.9-64_4 ################################# [ 17%]
6:libsmartcols-2.34-64_1 ################################# [ 20%]
7:zchunk-libs-1.1.4-64_3 ################################# [ 23%]
8:librepo-1.11.0-64_2 ################################# [ 27%]
9:python3.9-gpg-1.13.1-64_3 ################################# [ 30%]
rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
10:rpm-python3.9-4.15.1-64_4 ################################# [ 33%]
11:rpm-python3-4.15.1-64_4 ################################# [ 37%]
12:libdnf-0.39.1-64_5 ################################# [ 40%]
13:python3.9-libdnf-0.39.1-64_5 ################################# [ 43%]
14:python3.9-hawkey-0.39.1-64_5 ################################# [ 47%]
15:python3.9-librepo-1.11.0-64_2 ################################# [ 50%]
16:p11-kit-0.23.22-0 ################################# [ 53%]
17:p11-kit-tools-0.23.22-0 ################################# [ 57%]
18:libcomps-0.1.15-64_1 ################################# [ 60%]
19:python3.9-libcomps-0.1.15-64_1 ################################# [ 63%]
20:dnf-data-4.2.17-64_6 ################################# [ 67%]
rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
21:python3.9-dnf-4.2.17-64_6 ################################# [ 70%]
22:python3-dnf-4.2.17-64_6 ################################# [ 73%]
23:dnf-4.2.17-64_6 ################################# [ 77%]
24:dnf-automatic-4.2.17-64_6 ################################# [ 80%]
25:python3-libcomps-0.1.15-64_1 ################################# [ 83%]
26:ca-certificates-2023.2.60-0 ################################# [ 87%]
27:python3-librepo-1.11.0-64_2 ################################# [ 90%]
28:python3-hawkey-0.39.1-64_5 ################################# [ 93%]
29:python3-libdnf-0.39.1-64_5 ################################# [ 97%]
30:python3-gpg-1.13.1-64_3 ################################# [100%]
rpm_share: 0645-007 ATTENTION: whichfs() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: get_rpm_inst_root_list() returned an unexpected result.
rpm_share: 0645-007 ATTENTION: update_inst_root() returned an unexpected result.
dnf installation failed.
If the failure was due to a space issue, increase the size of /opt and re-run the script again.
Another reason for failure could be mixing of Toolbox packages and packages from other sources.
You can try installing the downloaded dnf packages from /tmp/dnf-20231012175045 manually.
#############END############################################################
I verified and /opt has 6GB of free space and after rerunning the script below is the output.
[root@AIXsvr]/tmp/dnf-20231012175045#./install_dnf.sh -d
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.2009 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-64_6 is already installed
dnf-automatic-4.2.17-64_6 is already installed
dnf-data-4.2.17-64_6 is already installed
libcomps-0.1.15-64_1 is already installed
libdnf-0.39.1-64_5 is already installed
libmodulemd-1.5.2-64_2 is already installed
librepo-1.11.0-64_2 is already installed
libsmartcols-2.34-64_1 is already installed
libsolv-0.7.9-64_4 is already installed
libzstd-1.4.4-64_2 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-dnf-4.2.17-64_6 is already installed
python3-gpg-1.13.1-64_3 is already installed
python3-hawkey-0.39.1-64_5 is already installed
python3-libcomps-0.1.15-64_1 is already installed
python3-libdnf-0.39.1-64_5 is already installed
python3-librepo-1.11.0-64_2 is already installed
python3.9-3.9.16-0 is already installed
python3.9-dnf-4.2.17-64_6 is already installed
python3.9-gpg-1.13.1-64_3 is already installed
python3.9-hawkey-0.39.1-64_5 is already installed
python3.9-libcomps-0.1.15-64_1 is already installed
python3.9-libdnf-0.39.1-64_5 is already installed
python3.9-librepo-1.11.0-64_2 is already installed
rpm-python3-4.15.1-64_4 is already installed
rpm-python3.9-4.15.1-64_4 is already installed
zchunk-libs-1.1.4-64_3 is already installed
dnf and all it's dependencies are already installed.
------------------------------
Hari Kiran
------------------------------
#dnf
#AIXOpenSource