Please ensure you have checked our other article to get the centOS-Base.repo file if you get a IPv6 error as-well: https://licensecart.com/billing/plugin/support_manager/knowledgebase/view/353/linevast-de-won-t-install-anything/15/
Run: echo "ClientAliveInterval 60" | sudo tee -a /etc/ssh/sshd_config
this will ensure you don't get disconnected from the server.
Then we need to edit the network file: nano /etc/sysconfig/network-scripts/ifcfg-eth0
Add this line to the bottom: NM_CONTROLLED=no
And then run the following to restart the network: ifdown eth0 && ifup eth0
WARNING!!! If you don't run both together in one line you can break your server…. CAREFUL
Finally reboot your server.