我想将我的VPS升级到PHP 7
但我每次都会遇到这个问题
[root@cloudbox75067 /]# yum install php70w php70w-opcache
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ftp.nluug.nl
* epel: fedora.cu.be
* extras: nl.mirror.babylon.network
* updates: ftp.nluug.nl
* webtatic: uk.repo.webtatic.com
Error: xz compression not available
发布于 2017-04-25 11:01:59
如果您在计算机上安装了错误的epel版本,则会出现此问题。如果是这样的话,那么您需要通过
yum remove epel-release
有时,这还不够,您还需要通过以下方法删除缓存:
rm -rf /var/cache/yum/x86_64/6/epel
然后,您可以再次安装epel发行版。
yum -y install epel-release
来源:https://stackoverflow.com/questions/27026003/xz-compression-install-on-centos/31945905#31945905
https://unix.stackexchange.com/questions/361118
复制相似问题