由于CentOS的系统安装了epel-release-latest-7.noarch.rpm 导致在使用yum命令时出现Error: xz compression not available问题
2017-10-13 17:18
871 查看
由于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
解决方法:
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
相关文章推荐
- 由于CentOS的系统安装了epel-release-latest-7.noarch.rpm 导致在使用yum命令时出现Error: xz compression not available问题。
- Centos使用yum命令安装中文语言包(fonts-chinese.noarch,m17n-db-common-cjk)
- 在cenOS下安装apache出现-bash: /etc/init.d/httpd: 没有那个文件或目录 我是在vmware上装的centos7,使用命令yum install httpd
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- CentOS 使用yum命令安装出现错误提示:Loaded plugins: fastestmirror, refresh-packagekit, security
- CentOS系统中使用yum命令安装redis
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- 【转】CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***” - ybq155
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org ***”
- CentOS 使用yum命令安装出现错误提示”could not retrieve mirrorlist http://mirrorlist.centos.org
- 关于centos使用yum命令安装时出现 Invalid GPG Key 错误到解决方法。
- centOS系统使用yum命令安装rz、sz
- error 25015安装程序集“C:\Windows\Microsoft .NET\Framework\v2.0.50727\xxx.dll”失败,原因是出现了系统错误:另一个程序正在使用此文件,进程无法访问
- Linux(centos)下安装卸载命令rpm,make install使用方法
- Linux(centos)下安装卸载命令rpm,make install使用方法【转】
- Linux(centos)下安装卸载命令rpm,make install使用方法
- CentOS系统下yum命令的详细使用方法
- linux rpm命令 安装 查询软件包 centos6.2中rpm使用