The core problem is not dependent packages installed, and there is no reason for the success of the installation dependencies, the biggest problem is yum source of a problem, especially in the initial deployment of a virtual machine environment
Specific solutions:
Open /etc/yum.repos.d/epel.repo, will
[Warm]
name=Extra Packages for Enterprise Linux 6 - $basearch
# Baseurl = http: //download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
change into
[Warm]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl = http: //download.fedoraproject.org/pub/epel/6/$basearch
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
And then clean up the source, re-install
yum clean all
yum install -y required packages
Reproduced in: https: //www.jianshu.com/p/61bf7f04e4e1