my fault, on this server the rpm.rte file was not updated...
Sorry for that.
Now dnf update works.
Thanks for your time and support...
kind regards,
Joerg
Regards,
Joerg
Original Message:
Sent: Mon July 03, 2023 08:13 AM
From: SANGAMESH MALLAYYA
Subject: python 3.9 update before dnf migrate
Hi Joerg,
Ideally, dnf update with the latest repo from toolbox should update DNF to python3.9 based DNF and other packages as well.
For example. libxml2-python3 and salt which are still based on python3.3.7.x
What error you had while doing "dnf update"?
------------------------------
SANGAMESH
Original Message:
Sent: Mon July 03, 2023 02:42 AM
From: Joerg Kauke
Subject: python 3.9 update before dnf migrate
Hello Sangamesh,
I've just downloaded the new package and tried to update the installation of dnf...
Here is the output:
+-----------------------------------------------------------------------------+
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-2021.2.52-3.ppc will be updated to ca-certificates-2023.2.60-0
Skipping dnf-4.2.17-64_6 as higher version dnf-4.2.17-64_51.ppc is installed.
Skipping dnf-automatic-4.2.17-64_6 as higher version dnf-automatic-4.2.17-64_51.ppc is installed.
Skipping dnf-data-4.2.17-64_6 as higher version dnf-data-4.2.17-64_51.ppc is installed.
libcomps-0.1.11-101.ppc will be updated to libcomps-0.1.15-64_1
Skipping libdnf-0.39.1-64_4 as higher version libdnf-0.39.1-64_51.ppc is installed.
Skipping libmodulemd-1.5.2-64_2 as higher version libmodulemd-1.5.2-100.ppc is installed.
Skipping librepo-1.11.0-64_2 as higher version librepo-1.11.0-101.ppc is installed.
Skipping libsmartcols-2.34-64_1 as higher version libsmartcols-2.34-100.ppc is installed.
Skipping libsolv-0.7.9-64_3 as higher version libsolv-0.7.9-64_50.ppc is installed.
Skipping 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-0
python3-devel-3.7.15-2.ppc will be updated to python3-devel-3.9.16-0
Skipping python3-dnf-4.2.17-64_6 as higher version python3-dnf-4.2.17-64_51.ppc is installed.
Skipping python3-gpg-1.13.1-64_3 as higher version python3-gpg-1.13.1-100.ppc is installed.
Skipping python3-hawkey-0.39.1-64_4 as higher version python3-hawkey-0.39.1-64_51.ppc is installed.
python3-libcomps-0.1.11-101.ppc will be updated to python3-libcomps-0.1.15-64_1
Skipping python3-libdnf-0.39.1-64_4 as higher version python3-libdnf-0.39.1-64_51.ppc is installed.
Skipping python3-librepo-1.11.0-64_2 as higher version python3-librepo-1.11.0-101.ppc is installed.
python3.9-3.9.16-0 will be installed
python3.9-devel-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_4 will be installed
python3.9-libcomps-0.1.15-64_1 will be installed
python3.9-libdnf-0.39.1-64_4 will be installed
python3.9-librepo-1.11.0-64_2 will be installed
rpm-python3-4.15.1-64_2.ppc will be updated to rpm-python3-4.15.1-64_3
rpm-python3.9-4.15.1-64_3 will be installed
Skipping 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:
libpython3.7m.a(libpython3.7m.so) is needed by (installed) libxml2-python3-2.10.3-1.ppc
libpython3.7m.so is needed by (installed) python3-libdnf-0.39.1-64_51.ppc
libpython3.7m.so is needed by (installed) python3-hawkey-0.39.1-64_51.ppc
libpython3.7m.so is needed by (installed) python3-librepo-1.11.0-101.ppc
/opt/freeware/bin/python3 is needed by (installed) python3-dnf-4.2.17-64_51.ppc
/opt/freeware/bin/python3 is needed by (installed) dnf-4.2.17-64_51.ppc
/opt/freeware/bin/python3 is needed by (installed) dnf-automatic-4.2.17-64_51.ppc
/opt/freeware/bin/python3 is needed by (installed) python3-distro-1.5.0-1.noarch
/opt/freeware/bin/python3 is needed by (installed) python3-charset-normalizer-2.0.12-1.noarch
/opt/freeware/bin/python3.7m is needed by (installed) salt-3004.2-1.noarch
/opt/freeware/bin/python3.7m is needed by (installed) salt-minion-3004.2-1.noarch
dnf-data = 4.2.17-64_6 is needed by python3.9-dnf-4.2.17-64_6.noarch
libdnf = 0.39.1-64_4 is needed by python3.9-hawkey-0.39.1-64_4.ppc
libdnf = 0.39.1-64_4 is needed by python3.9-libdnf-0.39.1-64_4.ppc
librepo = 1.11.0-64_2 is needed by python3.9-librepo-1.11.0-64_2.ppc
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-20230703082014 manually.
I now added the option "--nodeps" to the "rpm -Uhv" command and that worked so far.
But then I got the error:
:/root#dnf
bash: /usr/bin/dnf: /opt/freeware/bin/python3: bad interpreter: No such file or directory
There was no link set to "/opt/freeware/bin/python3"
after creating the link to "/opt/freeware/bin/python3.9" dnf worked well and I could update all the rpm's from the toolbox.
regards,
Joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Fri June 30, 2023 10:50 AM
From: SANGAMESH MALLAYYA
Subject: python 3.9 update before dnf migrate
Hi Joerg,
We wouldn't know if --nodeps causes other errors.
Could you let me know what error you faced with the new bundle ?
There was a typo mistake in the install script of new bundle while doing release comparison and not sure if the problem you faced is due to this.
Anyway, this is corrected and updated bundle has been uploaded.
------------------------------
SANGAMESH
Original Message:
Sent: Fri June 30, 2023 04:12 AM
From: Joerg Kauke
Subject: python 3.9 update before dnf migrate
Hello Sangamesh,
repo is from June 20th. Just for fun I removed all RPM's from my testsystem and tried to install the newly packed dnf_bundle_aix_73.tar.
Even that was not possible without editing the install script to "rpm -Uvh --nodeps ${install_list[@]}"
Just updating our test repo the latest and try again.
Update: first attempt failed with the same error as before... After a updtvpkg it worked and updated the packages.
I don't know how to manage this when it comes to migrate all of our systems to AIX 7.3. I don't have that much time in the night to do that on all updated system by hand...
Regards...
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Fri June 30, 2023 03:18 AM
From: SANGAMESH MALLAYYA
Subject: python 3.9 update before dnf migrate
Hi Joerg,
Can you please check if you have latest repo data
# dnf list dnf\*
Last metadata expiration check: 0:04:08 ago on Fri Jun 30 02:13:29 CDT 2023.
Installed Packages
dnf.noarch 4.2.17-64_6 @System
dnf-automatic.noarch 4.2.17-64_6 @System
dnf-data.noarch 4.2.17-64_6 @System
Available Packages
dnf.ppc 4.2.17-64_53 AIX_Toolbox_73
dnf-automatic.ppc 4.2.17-64_53 AIX_Toolbox_73
dnf-data.ppc 4.2.17-64_53 AIX_Toolbox_73
dnf-plugins-core.ppc 4.0.16-64_52 AIX_Toolbox_73
dnf-utils.ppc 4.0.16-64_52 AIX_Toolbox_73
------------------------------
SANGAMESH
Original Message:
Sent: Fri June 30, 2023 03:00 AM
From: Joerg Kauke
Subject: python 3.9 update before dnf migrate
I like to join this thread...
We have massive problems updating our systems. It is simply not possible to update with "dnf update"
#dnf updateLast metadata expiration check: 0:53:47 ago on Fri Jun 30 08:03:33 2023.Error: Problem 1: package dnf-4.2.17-64_51.ppc requires /opt/freeware/bin/python3, but none of the providers can be installed - cannot install both python3-3.5.2-3.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.6.3-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.6.6-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.1-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.11-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.12-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.3-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-5.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.6-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.9-1.ppc and python3-3.9.16-0.ppc - cannot install the best update candidate for package dnf-4.2.17-64_6.noarch - problem with installed package python3-3.9.16-0.ppc Problem 2: cannot install both dnf-data-4.2.17-64_51.ppc and dnf-data-4.2.17-64_6.noarch - package python3.9-dnf-4.2.17-64_6.noarch requires dnf-data = 4.2.17-64_6, but none of the providers can be installed - cannot install the best update candidate for package dnf-data-4.2.17-64_6.noarch - problem with installed package python3.9-dnf-4.2.17-64_6.noarch Problem 3: cannot install both libdnf-0.39.1-64_51.ppc and libdnf-0.39.1-64_4.ppc - package python3.9-hawkey-0.39.1-64_4.ppc requires libdnf = 0.39.1-64_4, but none of the providers can be installed - cannot install the best update candidate for package libdnf-0.39.1-64_4.ppc - problem with installed package python3.9-hawkey-0.39.1-64_4.ppc Problem 4: cannot install both librepo-1.11.0-101.ppc and librepo-1.11.0-64_2.ppc - package python3.9-librepo-1.11.0-64_2.ppc requires librepo = 1.11.0-64_2, but none of the providers can be installed - cannot install the best update candidate for package librepo-1.11.0-64_2.ppc - problem with installed package python3.9-librepo-1.11.0-64_2.ppc Problem 5: package python3-dnf-4.2.17-64_51.ppc requires /opt/freeware/bin/python3, but none of the providers can be installed - cannot install both python3-3.5.2-3.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.6.3-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.6.6-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.1-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.11-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.12-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.3-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-5.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.6-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.9-1.ppc and python3-3.9.16-0.ppc - cannot install the best update candidate for package python3-dnf-4.2.17-64_6.noarch - cannot install the best update candidate for package python3-3.9.16-0.ppc Problem 6: package python3-3.9.16-0.ppc requires python3.9 = 3.9.16-0, but none of the providers can be installed - cannot install both python3.9-3.9.16-2.ppc and python3.9-3.9.16-0.ppc - package python3-libcomps-0.1.15-64_1.ppc requires python3 >= 3.9.16, but none of the providers can be installed - cannot install the best update candidate for package python3.9-3.9.16-0.ppc - problem with installed package python3-libcomps-0.1.15-64_1.ppc Problem 7: cannot install both libdnf-0.39.1-64_51.ppc and libdnf-0.39.1-64_4.ppc - package python3-hawkey-0.39.1-64_51.ppc requires libdnf = 0.39.1-64_51, but none of the providers can be installed - package python3.9-libdnf-0.39.1-64_4.ppc requires libdnf = 0.39.1-64_4, but none of the providers can be installed - cannot install the best update candidate for package python3-hawkey-0.39.1-64_4.ppc - problem with installed package python3.9-libdnf-0.39.1-64_4.ppc Problem 8: package dnf-4.2.17-64_51.ppc requires /opt/freeware/bin/python3, but none of the providers can be installed - cannot install both python3-3.5.2-3.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.6.3-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.6.6-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.1-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.11-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.12-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.3-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-5.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.6-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.9-1.ppc and python3-3.9.16-0.ppc - package dnf-automatic-4.2.17-64_51.ppc requires dnf = 4.2.17-64_51, but none of the providers can be installed - package rpm-python3-4.15.1-64_3.ppc requires python3 >= 3.9.15, but none of the providers can be installed - cannot install the best update candidate for package dnf-automatic-4.2.17-64_6.noarch - problem with installed package rpm-python3-4.15.1-64_3.ppc Problem 9: package python3-librepo-1.11.0-101.ppc requires libpython3.7m.so, but none of the providers can be installed - cannot install both python3-3.7.1-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.11-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.12-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.3-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-5.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.6-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.9-1.ppc and python3-3.9.16-0.ppc - package python3-libcomps-0.1.15-64_1.ppc requires python3 >= 3.9.16, but none of the providers can be installed - cannot install the best update candidate for package python3-librepo-1.11.0-64_2.ppc - cannot install the best update candidate for package python3-libcomps-0.1.15-64_1.ppc Problem 10: package python3-libdnf-0.39.1-64_51.ppc requires libpython3.7m.so, but none of the providers can be installed - cannot install both python3-3.7.1-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.10-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.11-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.12-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.15-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.3-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-2.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.4-5.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.6-1.ppc and python3-3.9.16-0.ppc - cannot install both python3-3.7.9-1.ppc and python3-3.9.16-0.ppc - package rpm-python3-4.15.1-64_3.ppc requires python3 >= 3.9.15, but none of the providers can be installed - package libdnf-0.39.1-64_51.ppc requires rpm-python3 >= 4.15.1, but none of the providers can be installed - package python3-libdnf-0.39.1-64_51.ppc requires libdnf = 0.39.1-64_51, but none of the providers can be installed - cannot install the best update candidate for package python3-libdnf-0.39.1-64_4.ppc(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Thu June 29, 2023 07:18 AM
From: C- -T
Subject: python 3.9 update before dnf migrate
Hi,
As we got various dnf troubles since python 3.9 arrival which produces vast hassles to cope with, is it now necessary to migrate
to python 3.9 BEFORE doing dnf migrations ( 7.2 to 73)? the dnf bundles are having 3.9 packages already so it smells like this might
be to root cause.
chris
------------------------------
I regret starting this entire conversation
------------------------------