概述
yum编译执行命令如下:
yum install ntpdate wget autoconf automakelibtool gcc-c++ zlib-devel libjpeg-devel sqlite-devel libcurl-devel pcre-develspeex-devel libedit-devel openssl-devel libogg-devel libvorbis-devel
报错信息如下:
Error Downloading Packages:
openssl-devel-1.0.1e-16.el6_5.14.i686:failure: Packages/openssl-devel-1.0.1e-16.el6_5.14.i686.rpm base: [Errno 256] No more mirrors to try.
openssl-devel-1.0.1e-16.el6_5.14.i686:failure: Packages/openssl-devel-1.0.1e-16.el6_5.14.i686.rpm base: [Errno 256] No more mirrors to try.
openssl-devel-1.0.1e-16.el6_5.14.i686:failure: Packages/openssl-devel-1.0.1e-16.el6_5.14.i686.rpm base: [Errno 256] No more mirrors to try.
openssl-devel-1.0.1e-16.el6_5.14.i686:failure: Packages/openssl-devel-1.0.1e-16.el6_5.14.i686.rpm from base: [Errno 256] No more mirrors to try.
解决思路:
1:执行yum clean all 清除缓存目录下的软件包及旧的headers;
2:接着执行 yum list 重新列出所有已经安装和可以安装的软件包;
3:重新执行上述命令,发现yum编译成功;
注意:如果执行 yum list 报错,那就检查一下yum仓库是否有问题;并清除/etc/yum.repos.d/下多余.repo文件!
最后
以上就是轻松心锁为你收集整理的Error Downloading Packages: yum更新出现错误的全部内容,希望文章能够帮你解决Error Downloading Packages: yum更新出现错误所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复