Error: python-devel conflicts with python-2.7.5-68.el7.x86_64

hello guys

I’m trying to install erpnext on centos v7 in vps, I’m logged in as root
when I run yum install -y python-minimal
I get error No package python-minimal available. I think python v2.7 is already installed then no need for minimal to install and skip.

when I run install build-essential python-setuptools I get No package build-essential available. instead I run yum groupinstall "Development Tools"

now after downloading the install script I run python --develop --user frappe I get the bellow error

Error: python-devel conflicts with python-2.7.5-68.el7.x86_64 You could try using --skip-broken to work around the problem ** Found 237 pre-existing rpmdb problem(s), 'yum check' output follows: GeoIP-1.5.0-13.el7.x86_64 is a duplicate with GeoIP-1.5.0-11.el7.x86_64 1:NetworkManager-1.12.0-10.el7_6.x86_64 is a duplicate with 1:NetworkManager-1.10.2-14.el7_5.x86_64 1:NetworkManager-libnm-1.12.0-10.el7_6.x86_64 is a duplicate with 1:NetworkManager-libnm-1.10.2-14.el7_5.x86_64 1:NetworkManager-team-1.12.0-10.el7_6.x86_64 is a duplicate with 1:NetworkManager-team-1.10.2-14.el7_5.x86_64

could anyone please help me.