新聞中心

EEPW首頁(yè) > 嵌入式系統(tǒng) > 設(shè)計(jì)應(yīng)用 > Yum編譯安裝Error Downloading Packages報(bào)錯(cuò)

Yum編譯安裝Error Downloading Packages報(bào)錯(cuò)

作者: 時(shí)間:2016-09-12 來(lái)源:網(wǎng)絡(luò) 收藏

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

本文引用地址:http://2s4d.com/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 重新列出所有已經(jīng)安裝和可以安裝的軟件包;

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

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



關(guān)鍵詞: Yum 編譯 報(bào)錯(cuò)

評(píng)論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉