as this machine needs to be migrated urgently, i removed the what i think "problematic" packages manually to get this task going.
Original Message:
Sent: Mon June 26, 2023 10:00 AM
From: SANGAMESH MALLAYYA
Subject: dnf migration from aix 7.2 to aix 7.3 not working since python 3.9 introduction
Hi Chris,
This seems to be related to missing python3.9 sub-packages in the install list.
Can you also provide a list of all rpm packages installed ?
We will correct the bundle accordingly.
------------------------------
SANGAMESH
Original Message:
Sent: Mon June 26, 2023 09:03 AM
From: C- -T
Subject: dnf migration from aix 7.2 to aix 7.3 not working since python 3.9 introduction
The dnf_aixtoolbox.sh procedure is not working since the python3.9 packages arrived. numerous weird dependency problems.
whats the problem here?
root@aixkbg12pt: /root # oslevel -s7300-01-01-2246root@aixkbg12pt: /root # rpm -e dnf dnf-data dnf-automatic libdnf librepo python3-librepo python3-libdnf python3-hawkey python3-dnf libcomps --nodepswarning: /opt/freeware/etc/dnf/dnf.conf saved as /opt/freeware/etc/dnf/dnf.conf.rpmsaveroot@aixkbg12pt: /root # ksh /tmp/dnf_aixtoolbox.sh -dAttempting download of dnf_bundle_aix_73.tar ...Saving to 'dnf_bundle_aix_73.tar'...216 MB received in 4 seconds (54.1 MB/sec) Extracting dnf_bundle_aix_73.tar ...x ca-certificates-2023.2.60-0.aix7.1.ppc.rpm, 991065 bytes, 1936 tape blocksx dnf-4.2.17-64_6.aix7.1.noarch.rpm, 11392 bytes, 23 tape blocksx dnf-automatic-4.2.17-64_6.aix7.1.noarch.rpm, 12854 bytes, 26 tape blocksx dnf-data-4.2.17-64_6.aix7.1.noarch.rpm, 26177 bytes, 52 tape blocksx extra_list, 384 bytes, 1 tape blocksx install_dnf.sh, 14012 bytes, 28 tape blocksx libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1312174 bytes, 2563 tape blocksx libdnf-0.39.1-64_4.aix7.1.ppc.rpm, 16517054 bytes, 32260 tape blocksx libmodulemd-1.5.2-64_2.aix7.1.ppc.rpm, 3562173 bytes, 6958 tape blocksx librepo-1.11.0-64_2.aix7.1.ppc.rpm, 4010051 bytes, 7833 tape blocksx libsmartcols-2.34-64_1.aix7.1.ppc.rpm, 187658 bytes, 367 tape blocksx libsolv-0.7.9-64_3.aix7.1.ppc.rpm, 1556681 bytes, 3041 tape blocksx libzstd-1.4.4-64_2.aix7.1.ppc.rpm, 473729 bytes, 926 tape blocksx p11-kit-0.23.22-0.aix7.1.ppc.rpm, 2148539 bytes, 4197 tape blocksx p11-kit-tools-0.23.22-0.aix7.1.ppc.rpm, 274086 bytes, 536 tape blocksx python3-3.9.16-0.aix7.1.ppc.rpm, 6176 bytes, 13 tape blocksx python3-dateutil-2.8.0-2.aix7.1.noarch.rpm, 6128 bytes, 12 tape blocksx python3-devel-3.9.16-0.aix7.1.ppc.rpm, 6204 bytes, 13 tape blocksx python3-dnf-4.2.17-64_6.aix7.1.noarch.rpm, 7963 bytes, 16 tape blocksx python3-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 6580 bytes, 13 tape blocksx python3-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 6792 bytes, 14 tape blocksx python3-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 5724 bytes, 12 tape blocksx python3-hawkey-0.39.1-64_4.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocksx python3-idle-3.9.16-0.aix7.1.ppc.rpm, 6196 bytes, 13 tape blocksx python3-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 13276 bytes, 26 tape blocksx python3-libdnf-0.39.1-64_4.aix7.1.ppc.rpm, 5756 bytes, 12 tape blocksx python3-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 12776 bytes, 25 tape blocksx python3-six-1.13.0-2.aix7.1.noarch.rpm, 5820 bytes, 12 tape blocksx python3-test-3.9.16-0.aix7.1.ppc.rpm, 6196 bytes, 13 tape blocksx python3-tkinter-3.9.16-0.aix7.1.ppc.rpm, 6216 bytes, 13 tape blocksx python3.9-3.9.16-0.aix7.1.ppc.rpm, 56783004 bytes, 110905 tape blocksx python3.9-dateutil-2.8.0-2.aix7.1.noarch.rpm, 310485 bytes, 607 tape blocksx python3.9-devel-3.9.16-0.aix7.1.ppc.rpm, 19947355 bytes, 38960 tape blocksx python3.9-dnf-4.2.17-64_6.aix7.1.noarch.rpm, 197156 bytes, 386 tape blocksx python3.9-dnf-plugin-migrate-4.0.16-64_2.aix7.1.noarch.rpm, 8297 bytes, 17 tape blocksx python3.9-dnf-plugins-core-4.0.16-64_2.aix7.1.noarch.rpm, 33701 bytes, 66 tape blocksx python3.9-gpg-1.13.1-64_3.aix7.1.ppc.rpm, 1474348 bytes, 2880 tape blocksx python3.9-hawkey-0.39.1-64_4.aix7.1.ppc.rpm, 3339933 bytes, 6524 tape blocksx python3.9-idle-3.9.16-0.aix7.1.ppc.rpm, 2328776 bytes, 4549 tape blocksx python3.9-libcomps-0.1.15-64_1.aix7.1.ppc.rpm, 1075760 bytes, 2102 tape blocksx python3.9-libdnf-0.39.1-64_4.aix7.1.ppc.rpm, 24255176 bytes, 47374 tape blocksx python3.9-librepo-1.11.0-64_2.aix7.1.ppc.rpm, 2471631 bytes, 4828 tape blocksx python3.9-six-1.13.0-2.aix7.1.noarch.rpm, 45630 bytes, 90 tape blocksx python3.9-test-3.9.16-0.aix7.1.ppc.rpm, 33158885 bytes, 64764 tape blocksx python3.9-tkinter-3.9.16-0.aix7.1.ppc.rpm, 1162732 bytes, 2271 tape blocksx rpm-python3-4.15.1-64_3.aix7.1.ppc.rpm, 9608 bytes, 19 tape blocksx rpm-python3.9-4.15.1-64_3.aix7.1.ppc.rpm, 100414 bytes, 197 tape blocksx rpm.rte, 47110144 bytes, 92012 tape blocksx rpmlibs32-4.15.1.0-32_2.aix7.1.ppc.rpm, 732104 bytes, 1430 tape blocksx yum-4.2.17-64_6.aix7.1.noarch.rpm, 11233 bytes, 22 tape blocksx zchunk-1.1.4-64_3.aix7.1.ppc.rpm, 491789 bytes, 961 tape blocksx zchunk-devel-1.1.4-64_3.aix7.1.ppc.rpm, 19314 bytes, 38 tape blocksx zchunk-libs-1.1.4-64_3.aix7.1.ppc.rpm, 560016 bytes, 1094 tape blocksInstalling rpm.rte at the latest version ...This may take several minutes depending on the number of rpms installed...+-----------------------------------------------------------------------------+ Pre-installation Verification...+-----------------------------------------------------------------------------+Verifying selections...doneVerifying requisites...doneResults...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...doneFILESET STATISTICS ------------------ 1 Selected to be installed, of which: 1 Already installed (directly or via superseding filesets) ---- 0 Total to be installedPre-installation Failure/Warning Summary----------------------------------------Name Level Pre-installation Failure/Warning-------------------------------------------------------------------------------rpm.rte 4.15.1.2009 Already installedChecking whether any of the rpms from dnf_bundle are already installed...Takes couple of minutes to process.ca-certificates-2021.2.52-3.ppc will be updated to ca-certificates-2023.2.60-0dnf-4.2.17-64_6 will be installeddnf-automatic-4.2.17-64_6 will be installeddnf-data-4.2.17-64_6 will be installedlibcomps-0.1.15-64_1 will be installedlibdnf-0.39.1-64_4 will be installedSkipping libmodulemd-1.5.2-64_2 as higher version libmodulemd-1.5.2-100.ppc is installed.librepo-1.11.0-64_2 will be installedSkipping 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_3Skipping libzstd-1.4.4-64_2 as higher version libzstd-1.5.2-1.ppc is installed.Skipping p11-kit-0.23.22-0 as higher version p11-kit-0.23.22-1.ppc is installed.Skipping p11-kit-tools-0.23.22-0 as higher version p11-kit-tools-0.23.22-1.ppc is installed.python3-3.7.15-2.ppc will be updated to python3-3.9.16-0python3-devel-3.7.15-2.ppc will be updated to python3-devel-3.9.16-0python3-dnf-4.2.17-64_6 will be installedpython3-gpg-1.13.1-32_2.ppc will be updated to python3-gpg-1.13.1-64_3python3-hawkey-0.39.1-64_4 will be installedpython3-libcomps-0.1.11-32_1.ppc will be updated to python3-libcomps-0.1.15-64_1python3-libdnf-0.39.1-64_4 will be installedpython3-librepo-1.11.0-64_2 will be installedpython3-test-3.7.15-2.ppc will be updated to python3-test-3.9.16-0python3.9-3.9.16-0 will be installedpython3.9-dnf-4.2.17-64_6 will be installedpython3.9-gpg-1.13.1-64_3 will be installedpython3.9-hawkey-0.39.1-64_4 will be installedpython3.9-libcomps-0.1.15-64_1 will be installedpython3.9-libdnf-0.39.1-64_4 will be installedpython3.9-librepo-1.11.0-64_2 will be installedrpm-python3-4.15.1-32_1.ppc will be updated to rpm-python3-4.15.1-64_3rpm-python3.9-4.15.1-64_3 will be installedSkipping zchunk-libs-1.1.4-64_3 as higher version zchunk-libs-1.1.4-102.ppc is installed.Installing the packages...error: Failed dependencies: python3 = 3.7.15-2 is needed by (installed) python3-docs-3.7.15-2.ppc python3 = 3.7.15-2 is needed by (installed) python3-tools-3.7.15-2.ppc /opt/freeware/bin/python3 is needed by (installed) rlwrap-0.43-2.ppc /opt/freeware/bin/python3_32 is needed by (installed) yum-4.2.17-32_3.noarch python3.9-devel = 3.9.16-0 is needed by python3-devel-3.9.16-0.ppc python3.9-test = 3.9.16-0 is needed by python3-test-3.9.16-0.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.You can try installing the downloaded dnf packages from /tmp/dnf-20230626141448 manually.root@aixkbg12pt: /root # rpm -qa|grep pythopython3-jinja2-2.10.3-1.noarchpython3-six-1.13.0-1.noarchpython3-gpg-1.13.1-32_2.ppcpython3-libcomps-0.1.11-32_1.ppcpython3-dnf-plugin-migrate-4.0.16-32_1.noarchpython3-3.7.15-2.ppcpython3-docs-3.7.15-2.ppcpython3-tools-3.7.15-2.ppcpython-devel-2.7.18-4.ppcpython-pycurl-7.43.0.5-1.ppcpython-iniparse-0.4-1.noarchpython-urlgrabber-3.10.1-1.noarchpython3-markupsafe-1.1.1-1.ppcrpm-python3-4.15.1-32_1.ppcpython3-dateutil-2.8.0-1.noarchpython3-dnf-plugins-core-4.0.16-32_1.noarchpython3-devel-3.7.15-2.ppcpython3-test-3.7.15-2.ppcpython-2.7.18-4.ppcpython-tools-2.7.18-4.ppcroot@aixkbg12pt: /root #
------------------------------
I regret starting this entire conversation
------------------------------
#AIXOpenSource