Linux yum操作时出现Error: xz compression not available
2016-08-09 13:36
465 查看
yum升级php版本的时候出现这个问题
由于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
由于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
相关文章推荐
- Linux yum操作时出现Error: xz compression not available
- Linux yum操作时出现Error: xz compression not available
- 解决CentOS6.5的yum命令时出现Error: xz compression not available
- 由于CentOS的系统安装了epel-release-latest-7.noarch.rpm 导致在使用yum命令时出现Error: xz compression not available问题。
- Linux出现Error: xz compression not available
- Linux yum操作时出现 Error: xz compression not available
- 解决yum命令时出现Error: xz compression not available
- yum.Errors.MiscError: xz compression not available
- 关于yum安装时报Error: xz compression not available
- yum安装报错“Error: xz compression not available”
- yum search/intall, Error: xz compression not available
- yum安装报错“Error: xz compression not available”
- Error: xz compression not available的解决办法
- CenOS 6.* Error: xz compression not available 问题
- Error: xz compression not available
- 关于Error: xz compression not available
- Error: xz compression not available解决办法
- 错误:xz compression not available
- linux下切换用户出现This account is currently not available
- Linux下启动weka出现Error, not in CLASSPATH?解决方案