Question & Answer
Question
I migrated to AIX 73, and now DNF will not run.
# dnf list installed Traceback (most recent call last): File "/opt/freeware/bin/dnf", line 57, in <module> from dnf.cli import main File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 32, in <module> import dnf.base File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 29, in <module> import libdnf.transaction File "/opt/freeware/lib/python3.9/site-packages/libdnf/__init__.py", line 3, in <module> from . import common_types File "/opt/freeware/lib/python3.9/site-packages/libdnf/common_types.py", line 13, in <module> from . import _common_types ImportError: 0509-022 Cannot load module /opt/freeware/lib/libdnf.a(libdnf.so.2). 0509-150 Dependent module librpm.a(librpm.so.9) could not be loaded. 0509-022 Cannot load module librpm.a(librpm.so.9). 0509-026 System error: A file or directory in the path name does not exist. |
Answer
The /opt/freeware/lib/libdnf.a is a 32-bit library.
DNF uses the rpm binary to manage RPM packages. In AIX 7.1 and 7.2, the default rpm is 32-bit.
The default rpm is 64-bit in AIX 7.3. Therefore, DNF must be updated to 64-bit.
The default rpm is 64-bit in AIX 7.3. Therefore, DNF must be updated to 64-bit.
As noted on the AIX Toolbox "What's New" page:
- DNF steps are required for migration to AIX 7.3.
- When DNF users migrate from 32 bit AIX 7.1 or 7.2 to 64 bit AIX 7.3 then the existing installed DNF won’t work as-is. Some additional steps are required.
- See AIX migration with DNF for recommended steps.
NOTE for YUM users: It is recommended to migrate to DNF before migrating to AIX 7.3.
SUPPORT |
---|
|
Related Information
[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m3p000000hB48AAE","label":"AIX Open Source-\u003EPackage Tips"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
12 February 2024
UID
ibm17116429