解决CentOS6.5的yum命令时出现Error: xz compression not available
2017-04-26 20:43
731 查看
1.问题的提出:
因为最近要捣鼓论坛的事情,所以使用了CentOS6.5系统,但是今天在使用yum安装东西的时候总是提示如下的出错信息:
[root@blog blog]# yum install wget
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.sohu.com
* epel: mirror.premi.st
* extras: mirrors.sohu.com
* updates: mirrors.sohu.com
* webtatic: sp.repo.webtatic.com
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.5系统,但是今天在使用yum安装东西的时候总是提示如下的出错信息:
[root@blog blog]# yum install wget
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.sohu.com
* epel: mirror.premi.st
* extras: mirrors.sohu.com
* updates: mirrors.sohu.com
* webtatic: sp.repo.webtatic.com
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
相关文章推荐
- 解决yum命令时出现Error: xz compression not available
- 由于CentOS的系统安装了epel-release-latest-7.noarch.rpm 导致在使用yum命令时出现Error: xz compression not available问题。
- Linux yum操作时出现Error: xz compression not available
- Linux yum操作时出现Error: xz compression not available
- Error: xz compression not available解决办法
- Linux出现Error: xz compression not available
- Linux yum操作时出现Error: xz compression not available
- 在centos中运行java命令时出现Error: Could not find or load main class XXX问题的解决方法
- yum.Errors.MiscError: xz compression not available
- yum search/intall, Error: xz compression not available
- yum安装报错“Error: xz compression not available”
- yum安装报错“Error: xz compression not available”
- Linux yum操作时出现 Error: xz compression not available
- Error: xz compression not available的解决办法
- 关于yum安装时报Error: xz compression not available
- Error: xz compression not available
- 解决yum错误Error: requested datatype primary not available
- 【转】CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- CentOS yum出现“Could not retrieve mirrorlist ”的解决办法
- 关于Error: xz compression not available