在编译装置FS环境的时分发现怎么报错:
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文件!