Hi Davy,
Migrate script works if yum3(3.4.3) is installed and dnf history file is not yet created.
The script is meant to migrate yum history and database to dnf.
This part we handle it in our dnf install script itself while updating yum3 to yum4(dnf) along with dnf install with "-y" option.
Still "dnf migrate" can be run separately if both yum3 and dnf is installed in a machine.
yum-like repository is provided to have compatibility and familiar paths.
When we move from yum to dnf and repository files present in those path can still be recognised by dnf.
------------------------------
SANGAMESH
------------------------------
Original Message:
Sent: Wed October 27, 2021 04:01 AM
From: Davy Keppens
Subject: Issues with Ansible DNF module and python3
Hi Sanket.
Ok. Thanks. That's pretty clear. One last question. Can we safely run the yum to dnf migration script provided by you
https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox?CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=recentcommunityblogsdashboard
on our internal yum replica server of AIXToolbox or will this only work correctly on servers that are strictly yum clients ?
Also, i was surprised to notice that dnf gets sets up using the yum-like repository.d directories and not a directory of it's own. Is this normal ?
Davy
------------------------------
Davy Keppens
------------------------------
Original Message:
Sent: Fri October 22, 2021 11:28 AM
From: SANKET RATHI
Subject: Issues with Ansible DNF module and python3
Hi Davy,
AIX 7.1 and 7.2 has 32bit rpm and its libraries and hence a 32bit dnf module can work.
That is the reason we need to use 32bit python3.
Instead of changing the python3 link in /opt/freeware/bin you should change ansible module to use /opt/freeware/bin/python3_32.
------------------------------
SANKET RATHI
Original Message:
Sent: Mon October 18, 2021 01:49 PM
From: Davy Keppens
Subject: Issues with Ansible DNF module and python3
Hello Sangamesh,
Are you aware of any actions we can take to make this work with the 64_bit python3 client ? Reverting to 32_bit is fine as a temporary solution but should not be required in my opinion...
Davy
------------------------------
Davy Keppens
Original Message:
Sent: Mon October 18, 2021 02:35 AM
From: SANGAMESH MALLAYYA
Subject: Issues with Ansible DNF module and python3
Hi Davy,
Were you able to run /opt/freeware/bin/python3_32 in the managed node where it is failing ?
What is the the managed node output of ls -l /opt/freeware/lib/libsqlite3.so and rpm -qa | grep sqlite ?
------------------------------
SANGAMESH
Original Message:
Sent: Thu October 14, 2021 01:24 PM
From: Davy Keppens
Subject: Issues with Ansible DNF module and python3
Btw, python3-dnf is installed as part of the Yum->DNF migration
------------------------------
Davy Keppens