Please review: Formatting code and log snippets in posts
Based on the packages that are mentioned in the output it looks like the RHEL9 repository was added to the system instead of the RHEL8 one.
It looks like the metapackages are the only el9 one remaining. There is a possibility that one of these could be updated in way that could cause issues later on.
I would recommend fixing the repo and installing the correct packages.