关于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.
解决方法:
查看安装日志,找出版本不兼容软件,卸载之即可。
注:如因为安装EPEL导致此类问题,请在安装后输入:
rm -rf /etc/yum.repos.d/epel*
找到原因是安装软件时错误安装了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*
相关文章推荐
- Solving "Vietnam snake" puzzle with constraint logic programming
- 使用行为树(Behavior Tree)实现游戏AI
- Failed to find provider info for com.google.settings
- leetcode Factorial Trailing Zeroes
- [LeetCode] Contains Duplicate II
- 【Flume】Rpc sink XX closing Rpc client:NettyAvroRpcClient {xx} …… Failed to send events 问题解决
- Cuda kernel failed. Error: invalid device function
- 安装scikit-learn,win7 64位 (装了一下午,终于搞定了)解决ImportError: DLL load failed
- Contains Duplicate
- LeetCode217:Contains Duplicate
- reason:'CALayer position contains NaN: [160 nan]'
- POJ 1363 : Rail - 栈
- a Dll project without DllMain ?
- Agent admitted failure to sign using the key
- Aizu 2251 Merry Christmas(二分图最大匹配+Floyd)
- netstat监控大量ESTABLISHED连接与Time_Wait连接问题
- xCode模拟器出现installation failed invalid argument
- Leetcode_217_Contains Duplicate
- Lettcode_217_Contains Duplicate
- microsoft office 2016 preview 下载试用