AIX

 View Only

 DNF Installation Failed on VIOS 4.1.2

AJAY KUMAR's profile image
AJAY KUMAR posted 04/13/26 03:01 PM

Hello All,

Hope you are doing well ..

After doing the upgrade from VIOS 3.1.4.50 to 4.1.2.0, when trying to install DNF - getting below error ?

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 will be installed
rpm-python3.9-4.15.1-64_4 will be installed
yum-4.2.17-64_6 is already installed
zchunk-libs-1.1.4-64_3 is already installed
 
Installing the packages...
 
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Please make sure rpm.rte-4.15.1.2007 and higher version  is installed.
error: %prein(rpm-python3.9-4.15.1-64_4.ppc) scriptlet failed, exit status 1
error: rpm-python3.9-4.15.1-64_4.ppc: install failed
Updating / installing...
   1:rpm-python3-4.15.1-64_4          ################################# [ 33%]
   2:libdnf-0.39.1-64_5               ################################# [ 67%]
 
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.
 
Please check the failure error, correct it and retry again.
#


#
# lslpp -l | grep -i rpm.rte
  rpm.rte                4.20.1.2001  COMMITTED  RPM Package Manager
  rpm.rte                4.20.1.2001  COMMITTED  RPM Package Manager
#
# df -gt /opt
Filesystem    GB blocks      Used      Free %Used Mounted on
/dev/hd10opt       3.00      0.48      2.52   17% /opt
#
# oslevel -s
7300-04-00-2546
#
#
# /usr/ios/cli/ioscli ioslevel
4.1.2.00
#
#
# rpm -qa | grep -i python
python3.9-3.9.16-0.ppc
python3-3.9.16-0.ppc
python3.9-gpg-1.13.1-64_3.ppc
python3.9-libdnf-0.39.1-64_5.ppc
python3.9-hawkey-0.39.1-64_5.ppc
python3.9-librepo-1.11.0-64_2.ppc
python3.9-libcomps-0.1.15-64_1.ppc
python3.9-dnf-4.2.17-64_6.noarch
python3-dnf-4.2.17-64_6.noarch
python3-libcomps-0.1.15-64_1.ppc
python3-librepo-1.11.0-64_2.ppc
python3-hawkey-0.39.1-64_5.ppc
python3-libdnf-0.39.1-64_5.ppc
python3-gpg-1.13.1-64_3.ppc
rpm-python3-4.15.1-64_4.ppc
#

Any idea, how to fix this issue ..

Lakshmi Surekha Kovvuri's profile image
Lakshmi Surekha Kovvuri

Hi Ajay,

Looks like you are using very old tar ball. Please use this latest tar ball https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_bundle_aix_73.tar
or use the below script to install the dnf. 
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_aixtoolbox.sh