您的位置:首页 > 大数据 > 人工智能

关于Error: xz compression not available

2015-05-30 23:56 453 查看
今天在安装插件时遇到了这个错误,经网上查阅资料:https://www.centos.org/forums/viewtopic.php?t=46326

找到原因是安装软件时错误安装了CENTOS 7版本的软件导致yum不可用。

附上原文:Your "fix" removes the repository entirely. The correct fix is
to remove the cached files for epel under /var/cache/yum/epel and to uninstall the EPEL *7* version of the rpm which is designed to install on CentOS/RHEL7 not on CentOS 6.

解决方法:

gedit /root/install.log

查看安装日志,找出版本不兼容软件,卸载之即可。

注:如因为安装EPEL导致此类问题,请在安装后输入:

rm -rf /etc/yum.repos.d/epel*
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: