新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設計應用 > Yum編譯安裝Error Downloading Packages報錯

Yum編譯安裝Error Downloading Packages報錯

作者: 時間:2016-09-12 來源:網(wǎng)絡 收藏

安裝FS環(huán)境的時候發(fā)現(xiàn)如何

本文引用地址:http://butianyuan.cn/article/201609/304212.htm

yum執(zhí)行命令如下:

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:執(zhí)行yum clean all 清除緩存目錄下的軟件包及舊的headers;

2:接著執(zhí)行 yum list 重新列出所有已經安裝和可以安裝的軟件包;

3:重新執(zhí)行上述命令,發(fā)現(xiàn)yum成功;

注意:如果執(zhí)行 yum list ,那就檢查一下yum倉庫是否有問題;并清除/etc/yum.repos.d/下多余.repo文件!



關鍵詞: Yum 編譯 報錯

評論


相關推薦

技術專區(qū)

關閉