Yum installation error "Error: xz compression not available"
Docker learning on the test server, some centos7 software installed on and incompatible with their own server, so cause yun download software error: Error: xz compression not available
For error resolution:
rm -fr /var/cache/yum/x86_64/6/epel/
rm -rf /etc/yum.repos.d/epel*
Reinstall the epel and base sources
wget -O/etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repowget -O /etc/yum.repos.d/epel.repohttp://mirrors.aliyun.com/repo/epel-7.repoyum repolist