This error occurred in the installation, which I have tried many times.
run yum update and then try tell me which provider is this and os version
run yum update Centos 7.6
edit file: /etc/yum.repos.d/epel.repo
change to: enabled=0
seems like it trying to install packages for Enterprise version in free version.