AIX 7.2.
I've used dnf_aixtoolbox.sh to update rpm.rte, dnf and python.
I then ran dnf update and there were around 30 packages to update so I updated them.
The updates from the repos were successfull but now when I run dnf I get an error.
# dnf
bash: /usr/bin/dnf: /opt/freeware/bin/python3_32: bad interpreter: A file or directory in the path name does not exist.
I check for dnf and python using rpm -qa:
# rpm -qa | grep -E "dnf|python"
python3-3.9.16-2.ppc
python3.9-libcomps-0.1.15-101.ppc
rpm-python3-4.15.1-32_2.ppc
dnf-data-4.2.17-32_51.ppc
python3.9-libdnf-0.39.1-32_52.ppc
python3.9-dnf-4.2.17-32_51.ppc
dnf-4.2.17-32_51.ppc
python3-librepo-1.11.0-102.ppc
python3-libdnf-0.39.1-32_52.ppc
python3-gpg-1.13.1-101.ppc
python3.9-3.9.16-2.ppc
python3.9-gpg-1.13.1-101.ppc
rpm-python3.9-4.15.1-32_2.ppc
libdnf-0.39.1-32_52.ppc
python3.9-hawkey-0.39.1-32_52.ppc
python3-dnf-4.2.17-32_51.ppc
python3.9-librepo-1.11.0-102.ppc
dnf-automatic-4.2.17-32_51.ppc
python3-hawkey-0.39.1-32_52.ppc
python3-libcomps-0.1.15-101.ppc
That looks OK.
So it seems like something to do with python3_32.
If I run /opt/freeware/bin/dnf it work fine.
I have /opt/freeware/bin in my $PATH envvar. Have done for years :-)
Any suggestions on how to fix this?
------------------------------
Glenn Robinson
------------------------------
#AIXOpenSource