Sometimes you get the below error while installing cPanel
(FATAL): The installation process was unable to synchronize cPanel & WHM. Verify that your network can connect to httpupdate.cpanel.net and rerun the installer.
To fix this
1. Check your resolv.conf file and make sure that you have internet.
2. Stop the firewall temporarily
service iptables stop
3. Make sure that there are no incomplete transactions in yum, run the below command to complete any leftover YUM transactions
4. Now start the cPanel installation again and it should not give any errors this time.