I have reviewed the blog with the details of the steps required to migrate DNF after NIMADM to AIX 7.3.
I had DNF on the source system already on AIX 7.2.
It looks like there are some dependency issues which I would like some advice as the best way to work around.
The new DNF looks to require
python3-gpgme-1.13.1-64_1.aix7.1.ppc.rpm, which is provided in the DNF AIX 7.3 installer bundle. But this has been obsoleted by
python3-gpg-1.13.1-100.ppc, so was updated by a previous update before the NIMADM when on AIX 7.2.
Output of the installer:
# /tmp/dnf/install_dnf.sh -yChecking whether any of the rpms from dnf_bundle are already installed...Takes couple of minutes to process.Skipping ca-certificates-2020.06.01-0 as higher version ca-certificates-2021.2.52-3.ppc is installed.dnf-4.2.17-32_50.ppc will be updated to dnf-4.2.17-64_4dnf-automatic-4.2.17-32_50.ppc will be updated to dnf-automatic-4.2.17-64_4dnf-data-4.2.17-32_50.ppc will be updated to dnf-data-4.2.17-64_4Skipping libcomps-0.1.11-64_1 as higher version libcomps-0.1.11-100.ppc is installed.libdnf-0.39.1-32_50.ppc will be updated to libdnf-0.39.1-64_3Skipping libmodulemd-1.5.2-64_2 as higher version libmodulemd-1.5.2-100.ppc is installed.Skipping librepo-1.11.0-64_1 as higher version librepo-1.11.0-100.ppc is installed.Skipping libsmartcols-2.34-64_1 as higher version libsmartcols-2.34-100.ppc is installed.libsolv-0.7.9-32_51.ppc will be updated to libsolv-0.7.9-64_2Skipping libzstd-1.4.4-64_2 as higher version libzstd-1.4.4-100.ppc is installed.Skipping p11-kit-0.23.16-0 as higher version p11-kit-0.23.22-1.ppc is installed.Skipping p11-kit-tools-0.23.16-0 as higher version p11-kit-tools-0.23.22-1.ppc is installed.Skipping python3-3.7.9-0 as higher version python3-3.7.12-1.ppc is installed.python3-dnf-4.2.17-32_50.ppc will be updated to python3-dnf-4.2.17-64_4python3-gpgme-1.13.1-64_1 will be installedpython3-hawkey-0.39.1-32_50.ppc will be updated to python3-hawkey-0.39.1-64_3Skipping python3-libcomps-0.1.11-64_1 as higher version python3-libcomps-0.1.11-100.ppc is installed.python3-libdnf-0.39.1-32_50.ppc will be updated to python3-libdnf-0.39.1-64_3Skipping python3-librepo-1.11.0-64_1 as higher version python3-librepo-1.11.0-100.ppc is installed.rpm-python3-4.15.1-32_1.ppc will be updated to rpm-python3-4.15.1-64_2yum-4.2.17-64_4 will be installedSkipping zchunk-libs-1.1.4-64_2 as higher version zchunk-libs-1.1.4-101.ppc is installed.Installing the packages...error: Failed dependencies:python3-gpgme is obsoleted by (installed) python3-gpg-1.13.1-100.ppcdnf 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.I have tried excluding this RPM but it needs it, even though the replacement is already installed:
error: Failed dependencies:python3-gpgme >= 1.13.1 is needed by python3-dnf-4.2.17-64_4.noarchSo went to the next choice, replacing the python3-dnf with the new one from the toolbox
python3-dnf-4.2.17-64_51.aix7.3.ppc.rpm . which changes the error to
error: Failed dependencies:python3-dnf = 4.2.17-64_4 is needed by dnf-4.2.17-64_4.noarchdnf-data = 4.2.17-64_51 is needed by python3-dnf-4.2.17-64_51.ppcpython3-hawkey >= 0.39.1-64_50 is needed by python3-dnf-4.2.17-64_51.ppcpython3-libdnf >= 0.39.1-64_50 is needed by python3-dnf-4.2.17-64_51.ppcI am sure I could get it to work eventually by replacing them all with all the newer toolbox RPMs, or removing all the old DNF RPMs before running the installer.
It looks like the available RPMs in the toolbox are newer than the ones bundled in the installer, which may be causing the issue when we have upgraded to those before NIMADM migration? Is the AIX 7.3 DNF installer bundle requiring an update with the newer RPMs?
------------------------------
Alan
------------------------------
#AIXOpenSource