<p>1.问题的提出:</p><p>因为最近要捣鼓论坛的事情,所以使用了CentOS6.5系统,但是今天在使用yum安装东西的时候总是提示如下的出错信息:</p><pre class="brush:bash;toolbar:false">[root@blogblog]#yuminstallwget Loadedplugins:fastestmirror Loadingmirrorspeedsfromcachedhostfile *base:mirrors.sohu.com *epel:mirror.premi.st *extras:mirrors.sohu.com *updates:mirrors.sohu.com *webtatic:sp.repo.webtatic.com Error:xzcompressionnotavailable</pre><p>上网搜了下解决方案了,找到如下的解决方案:</p><p>1.到http://ftp.riken.jp/Linux/fedora/epel/下载epel-release-latest-6.noarch.rpm</p><p>2.卸载epel-release-latest-7.noarch.rpm:yum remove epel-release</p><p>3.清空epel目录:rm -rf /var/cache/yum/x86_64/6/epel/</p><p>4.安装epel6:rpm -ivh epel-release-latest-6.noarch.rpm</p>
返回顶部 留言