我是靠谱客的博主 粗心金鱼,这篇文章主要介绍由于CentOS的系统安装了epel-release-latest-7.noarch.rpm 导致在使用yum命令时出现Error: xz compression not available问题...,现在分享给大家,希望可以做个参考。

 

 由于CentOS6的系统安装了epel-release-latest-7.noarch.rpm 导致在使用yum命令时出现Error: xz compression not available问题。
解决方法:
1.到http://ftp.riken.jp/Linux/fedora/epel/下载epel-release-latest-6.noarch.rpm
2.卸载epel-release-latest-7.noarch.rpm:yum remove epel-release
3.清空epel目录:rm -rf /var/cache/yum/x86_64/6/epel/
4.安装epel6:rpm -ivh epel-release-latest-6.noarch.rpm

 

epel是什么 :  https://www.cnblogs.com/fps2tao/p/7580188.html

 

转: https://blog.csdn.net/chenlix/article/details/52300906

 

最后

以上就是粗心金鱼最近收集整理的关于由于CentOS的系统安装了epel-release-latest-7.noarch.rpm 导致在使用yum命令时出现Error: xz compression not available问题...的全部内容,更多相关由于CentOS的系统安装了epel-release-latest-7.noarch.rpm内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(102)

评论列表共有 0 条评论

立即
投稿
返回
顶部