[root@JeffreyWang nextcloud]# yum search php72w Loaded plugins: fastestmirror, security Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile * webtatic: sp.repo.webtatic.com **Error: xz compression not available**
报错,Error: xz compression not available
修复问题
问题出现原因
YUM源版本不符
解决思路
将错误的源删掉
删除yum缓存和webstatic缓存,否则问题还会出现
安装正确的yum源
所以,执行如下命令:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# 删除错误源 [root@JeffreyWang nextcloud]# yum remove epel-release Loaded plugins: fastestmirror, security Setting up Remove Process Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check ---> Package epel-release.noarch 0:7-11 will be erased --> Processing Dependency: epel-release >= 7 for package: webtatic-release-7-3.noarch --> Running transaction check ---> Package webtatic-release.noarch 0:7-3 will be erased