Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Yum installation error "Error: xz compression not available"

Shulou Source: shulou.com Published: 2022-06-03 07:15:29 11月23日 Update

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

Tags: Servers software services download software methods times learning testing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Huawei Xiaomi Shulou Technology vpn