Hello Team
on some of our AIX LPARs dnf with any subcommand isn't working anymore, probabably since the update to 7200-05-07-2346, but I'm not sure.
A short search didn't help about this.
root@aixhost: /tmp # dnf repolist
Traceback (most recent call last):
File "/opt/freeware/bin/dnf", line 57, in <module>
from dnf.cli import main
File "/opt/freeware/lib/python3.7/site-packages/dnf/__init__.py", line 32, in <module>
import dnf.base
File "/opt/freeware/lib/python3.7/site-packages/dnf/base.py", line 31, in <module>
from dnf.comps import CompsQuery
File "/opt/freeware/lib/python3.7/site-packages/dnf/comps.py", line 313, in <module>
class Package(Forwarder):
File "/opt/freeware/lib/python3.7/site-packages/dnf/comps.py", line 317, in Package
libcomps.PACKAGE_TYPE_CONDITIONAL : CONDITIONAL,
AttributeError: module 'libcomps' has no attribute 'PACKAGE_TYPE_CONDITIONAL'
root@aixhost: /tmp #
root@aixhost: /tmp # oslevel -s
7200-05-07-2346
root@aixhost: /tmp # rpm -qa|grep -i python
python-devel-2.7.18-3.ppc
rpm-python3-4.15.1-32_1.ppc
python3-dateutil-2.8.0-1.noarch
python3-gpg-1.13.1-100.ppc
python3-libdnf-0.39.1-32_50.ppc
python3-dnf-4.2.17-32_50.ppc
python3-dnf-plugins-core-4.0.16-32_50.ppc
python3-3.7.15-2.ppc
python3-libdnf-0.39.1-32_51.ppc
python3-librepo-1.11.0-101.ppc
python-devel-2.7.18-4.ppc
python3.9-3.9.19-1.ppc
python-iniparse-0.4-1.noarch
python-urlgrabber-3.10.1-1.noarch
python-pycurl-7.43.0-1.ppc
python-2.7.18-3.ppc
python-tools-2.7.18-3.ppc
python3-six-1.13.0-1.noarch
python3-3.7.15-1.ppc
python3-hawkey-0.39.1-32_50.ppc
python3-dnf-plugin-migrate-4.0.16-32_50.ppc
python3-librepo-1.11.0-100.ppc
python-2.7.18-4.ppc
python3-hawkey-0.39.1-32_51.ppc
python-pycurl-7.43.0.5-1.ppc
python-tools-2.7.18-4.ppc
python3.9-libcomps-0.1.15-101.ppc
python3-libcomps-0.1.15-101.ppc
Could you please help?
Thank you very much in advance!
------------------------------
Hans-Peter G.
------------------------------