Hi all, I faced similar issues on a freshly installed 7200-05-06-2320 LPAR. dnf (installed with dnf_bundle from around 1 year ago) worked fine with AIX_Toolbox from ~1 year ago. When I re-froze the repos to get the latest RPMs (we freeze our local copy of AIX_Toolbox before each patching cycle, depending on the environment), I faced the followin eror:
Error:
Problem: The operation would result in removing the following protected packages: dnf
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Using '--nobest' was a very bad idea, dnf was throwing the 'AttributeError: module 'libcomps' has no attribute 'PACKAGE_TYPE_CONDITIONAL'' erro after the 'dnf update'. Had to delete few RPMs and retun 'dnf_aixtoolbox.sh script with -d option' to fix it
On the next LPAR I just updated rpm.rte (from latest dnf_bundle.tar) and the dnf update worked perfectly fine. No issues with dnf afterwards nor unmet dependancies,
Lesson learned -> keep rpm.rte up-to-date from latest dnf_bundle.tar before attempting dnf update
------------------------------
Lionel Widmer
------------------------------