Original Message:
Sent: Fri August 16, 2024 09:52 AM
From: Scott McKevitt
Subject: Issues attempting to rerun dnf_aixtoolbox.sh
Thanks for the suggestion I did as you suggested and still had issues so i removed librepo-1.11.0-101.ppc and then I was able to proceed.
------------------------------
Scott McKevitt
Original Message:
Sent: Fri August 16, 2024 02:17 AM
From: Tommi Sihvo
Subject: Issues attempting to rerun dnf_aixtoolbox.sh
Hi Scott,
These python packages are "bit" of a jungle sometimes..
Maybe there is some faster way, but at least these steps should fix the issue:
First make backup of /opt/freeware/etc/dnf/dnf.conf (preferably take whole AIX server mksysb (or PowerVC snapshot if U are using PowerVC)
Remove all python3* packages
re-run the latest dnf_aixtoolbox.sh script
run dnf update
update virtual package definitions: /usr/sbin/updtvpkg
Good luck π
In my case, I had dnf not functioning properly after update, So I needed to remove
- all dnf* packages
- all python3* packages
- all "Skipped" packages when trying to run dnf toolbox script
.and then everything worked again normally...but in your case, I hope removal of python3* should be enough (unless it doesn't start mourning on dependencies to dnf packages etc)
Br,
tommi
------------------------------
Tommi Sihvo, Lead Service Architect
Tietoevry Tech Services
email tommi.sihvo@tietoevry.com mobile +358 (0)40 5180 Finland
Original Message:
Sent: Thu August 15, 2024 03:56 PM
From: Scott McKevitt
Subject: Issues attempting to rerun dnf_aixtoolbox.sh
I had updated my AIX 7.2 system to dnf a while ago. This same system was also my local repository server and I noticed that the replication had stopped I resolved this by installing the dnf_utils and updating the reposync command to use the latest options. Once this was done I ran dnf update and all appeared good until I attempted to run dnf check-update and received error messages about python3.7 I attempted to remove the packages it was complaining about and then run the dnf_aixtoolbox.sh script again but I now getting the following errors. Any assistance would be greatly appreciated.
Pre-installation Failure/Warning Summary
----------------------------------------
Name Level Pre-installation Failure/Warning
-------------------------------------------------------------------------------
rpm.rte 4.15.1.1011 Already superseded by 4.15.1.1013
Checking whether any of the rpms from dnf_bundle are already installed...
Takes couple of minutes to process.
Skipping ca-certificates-2023.2.60-0 as higher version ca-certificates-2024.2.66-1.ppc is installed.
dnf-4.2.17-32_4 will be installed
dnf-automatic-4.2.17-32_4 will be installed
dnf-data-4.2.17-32_4 will be installed
libcomps-0.1.15-32_1 will be installed
libdnf-0.39.1-32_3 will be installed
Skipping libmodulemd-1.5.2-32_2 as higher version libmodulemd-1.5.2-100.ppc is installed.
Skipping librepo-1.11.0-32_2 as higher version librepo-1.11.0-101.ppc is installed.
Skipping libsmartcols-2.34-32_1 as higher version libsmartcols-2.34-101.ppc is installed.
Skipping libsolv-0.7.9-32_3 as higher version libsolv-0.7.9-32_51.ppc is installed.
Skipping libzstd-1.4.4-32_1 as higher version libzstd-1.5.2-3.ppc is installed.
Skipping p11-kit-0.23.22-0 as higher version p11-kit-0.24.1-1.ppc is installed.
Skipping p11-kit-tools-0.23.22-0 as higher version p11-kit-tools-0.24.1-1.ppc is installed.
python3-3.7.15-2.ppc will be updated to python3-3.9.16-0
python3-dnf-4.2.17-32_4 will be installed
Skipping python3-gpg-1.13.1-32_3 as higher version python3-gpg-1.13.1-100.ppc is installed.
python3-hawkey-0.39.1-32_3 will be installed
python3-libcomps-0.1.15-32_1 will be installed
python3-libdnf-0.39.1-32_3 will be installed
Skipping python3-librepo-1.11.0-32_2 as higher version python3-librepo-1.11.0-101.ppc is installed.
python3.9-3.9.16-0 will be installed
python3.9-dnf-4.2.17-32_4 will be installed
python3.9-gpg-1.13.1-32_3 will be installed
python3.9-hawkey-0.39.1-32_3 will be installed
python3.9-libcomps-0.1.15-32_1 will be installed
python3.9-libdnf-0.39.1-32_3 will be installed
python3.9-librepo-1.11.0-32_2 will be installed
rpm-python3-4.15.1-32_1.ppc will be updated to rpm-python3-4.15.1-32_2
rpm-python3.9-4.15.1-32_2 will be installed
yum-4.2.17-32_4 will be installed
Skipping zchunk-libs-1.1.4-32_2 as higher version zchunk-libs-1.1.4-103.ppc is installed.
Installing the packages...
error: Failed dependencies:
libpython3.7m.so is needed by (installed) python3-librepo-1.11.0-101.ppc
librepo = 1.11.0-32_2 is needed by python3.9-librepo-1.11.0-32_2.ppc
dnf installation failed.
If the failure was due to a space issue, increase the size of /opt and re-run 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-20240815123704 manually.
------------------------------
Scott McKevitt
------------------------------