me again :-)
I think I see the error now... multiple packages from the dnf_bundle were not updated as you mentioned...
After updating libsmartcols to libsmartcols-2.34-100, I see another error with the same problem:
p#dnf
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 58, in <module>
from dnf.cli import main
File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 30, in <module>
import dnf.base
File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module>
import libdnf.transaction
File "/opt/freeware/lib64/python3.7/site-packages/libdnf/__init__.py", line 3, in <module>
from . import common_types
File "/opt/freeware/lib64/python3.7/site-packages/libdnf/common_types.py", line 13, in <module>
from . import _common_types
ImportError: 0509-022 Cannot load module /opt/freeware/lib64/librepo.a(librepo.so.0).
0509-150 Dependent module /opt/freeware/lib64/libzck.a(libzck.so.1) could not be loaded.
0509-152 Member libzck.so.1 is not found in archive
:/tmp#rpm -qf /opt/freeware/lib64/libzck.a
zchunk-libs-1.1.4-64_2.ppc
:/tmp#rpm -q zchunk-libs
zchunk-libs-1.1.4-101.ppc
zchunk-libs-1.1.4-64_2.ppc
Again, both versions are installed... So how can could happen?
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
------------------------------
Original Message:
Sent: Fri December 09, 2022 04:50 AM
From: Joerg Kauke
Subject: dnf not working on AIX 7.3 after dnf update
I now uninstalled libsmartcols-2.34-100.ppc with rpm -e --nodeps and installed the version from the dnf_bundle.tar file.
/#rpm -ihv libsmartcols-2.34-64_1.aix7.1.ppc.rpmVerifying... ################################# [100%]Preparing... ################################# [100%]Updating / installing... 1:libsmartcols-2.34-64_1 ################################# [100%]/#updtvpkgPlease wait.../#dnfTraceback (most recent call last): File "/opt/freeware/bin/dnf", line 58, in <module> from dnf.cli import main File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 30, in <module> import dnf.base File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 29, in <module> import libdnf.transaction File "/opt/freeware/lib64/python3.7/site-packages/libdnf/__init__.py", line 3, in <module> from . import common_types File "/opt/freeware/lib64/python3.7/site-packages/libdnf/common_types.py", line 13, in <module> from . import _common_typesImportError: 0509-022 Cannot load module /opt/freeware/lib64/python3.7/site-packages/libdnf/_common_types.so. 0509-150 Dependent module /opt/freeware/lib64/libsmartcols.a(libsmartcols.so.1) could not be loaded. 0509-152 Member libsmartcols.so.1 is not found in archive/#rpm -qf /opt/freeware/lib64/libsmartcols.alibsmartcols-2.34-64_1.ppc/#rpm -q --filesbypkg libsmartcolslibsmartcols /opt/freeware/include/libsmartcols/libsmartcols.hlibsmartcols /opt/freeware/lib64/libsmartcols.alibsmartcols /opt/freeware/lib64/pkgconfig/smartcols.pclibsmartcols /opt/freeware/licenses/libsmartcols-2.34libsmartcols /opt/freeware/licenses/libsmartcols-2.34/COPYING
I still don't understand what is wrong...
Maybe you see the error...
Best regards,
joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
------------------------------
Original Message:
Sent: Fri December 09, 2022 04:37 AM
From: Joerg Kauke
Subject: dnf not working on AIX 7.3 after dnf update
Hello Sangamesh,
thanks for looking into it...
I think you asked the right question:
:/root#rpm -q libsmartcolslibsmartcols-2.34-100.ppclibsmartcols-2.34-64_1.ppc
Both versions are installed. It seems the update didn't remove the old version, but only the libsmartcols-2.34-100 is used.
I also couldn't find the 64bit version in the toolbox repo website...
Where can I find it?
best regards,
Jörg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Fri December 09, 2022 03:51 AM
From: SANGAMESH MALLAYYA
Subject: dnf not working on AIX 7.3 after dnf update
Hi Joerg,
In the dnf update do you see libsmartcols-2.34-100 is being listed ?
I think somehow you still have the libsmartcols-2.34-64_1 from the dnf_bundle instead from the repository.
------------------------------
SANGAMESH
Original Message:
Sent: Fri December 09, 2022 02:19 AM
From: Joerg Kauke
Subject: dnf not working on AIX 7.3 after dnf update
Hello Sanket,
yes, I tried it this way first, but the installer script stops at the first package installed that is newer the packages in the dnf_bungle_aix_73.tar.
So it never installs dnf in 64bit version. So I started to uninstall manually all packages related to dnf and run the install script again. That way works fine and dnf is running, but only until the first "dnf update".
This update seems to break dnf...
best regards,
Joerg
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Wed December 07, 2022 10:41 AM
From: SANKET RATHI
Subject: dnf not working on AIX 7.3 after dnf update
Hi Joerg,
Looks like you upgraded from AIX 7.2 to AIX 7.3
Did you follow steps as mentioned in the following blog ?
https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/01/10/aix-migration-with-dnf?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9
------------------------------
SANKET RATHI
Original Message:
Sent: Wed December 07, 2022 09:13 AM
From: Joerg Kauke
Subject: dnf not working on AIX 7.3 after dnf update
Hi Jan,
the migration from AIX 7.2 TL5 to AIX 7.3 TL1 had no errors... it run smoothly.
The package removal was with rpm -e (mostly with the option --nodeps) and reinstalling the dnf packages with the official install script.
The installation had no errors at all...
Also the update of the rpm packages run without any error. Only when I start dnf after the update it is not working anymore.
I already tried to uninstall dnf and reinstall it. Then it works until I update the packages again.
Best regards,
------------------------------
Joerg Kauke
Unix Administrator
COOP Switzerland
Original Message:
Sent: Wed December 07, 2022 08:48 AM
From: Jan Harris
Subject: dnf not working on AIX 7.3 after dnf update
Hi Joerg
- What were the errors after the TL1 update?
- How did you remove the packages?
- Did you reinstall rpm.rte before you ran the dnf install script?
- Do you have any error logs from the dnf or AIX updates?
------------------------------
Jan Harris
AIX Development Support (Liaison to the AIX Toolbox for Open Source)
IBM (Contract)
Austin TX