[問題] YUM錯誤訊息找不到解..(ARM平台)

看板Linux作者 (環島旅行ing)時間10年前 (2015/08/19 17:34), 編輯推噓0(004)
留言4則, 2人參與, 最新討論串1/1
CENTOS 7最近出了ARM的版本,小弟我馬上放到IMX6平台來試試, 雖然可以用,但沒辦法使用yum指令,噴的錯誤訊息如下: [root@imx6 home]# yum update Loaded plugins: fastestmirror One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/et. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Disable the repository, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable <repoid> 4. Configure the failing repository to be skipped, if it unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (l be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=<repoid>.skip_if_unavaila 使用了yum repolist則是顯示 [root@imx6 ~]# yum repolist all Loaded plugins: fastestmirror c7buildroot | 2.9 kB 00:00 c7buildroot/primary_db | 1.6 MB 00:03 c7pass1 | 2.9 kB 00:00 c7pass1/primary_db | 3.3 MB 00:02 comps | 3.6 kB 00:00 comps/group_gz | 154 kB 00:01 comps/primary_db | 5.0 MB 00:04 repo id repo name status C7.0.1406-base/armhfp CentOS-7.0.1406 - Base disabled C7.0.1406-centosplus/armhfp CentOS-7.0.1406 - CentOSPlus disabled C7.0.1406-extras/armhfp CentOS-7.0.1406 - Extras disabled C7.0.1406-fasttrack/armhfp CentOS-7.0.1406 - CentOSPlus disabled C7.0.1406-updates/armhfp CentOS-7.0.1406 - Updates disabled base/7/armhfp CentOS-7 - Base enabled: 0 base-debuginfo/armhfp CentOS-7 - Debuginfo disabled base-source/7 CentOS-7 - Base Sources disabled c7buildroot c7buildroot enabled: 3326 c7pass1 c7pass1 enabled: 5940 centosplus/7/armhfp CentOS-7 - Plus disabled centosplus-source/7 CentOS-7 - Plus Sources disabled comps comps enabled: 9105 cr/7/armhfp CentOS-7 - cr disabled extras/7/armhfp CentOS-7 - Extras enabled: 0 extras-source/7 CentOS-7 - Extras Sources disabled fasttrack/7/armhfp CentOS-7 - fasttrack disabled updates/7/armhfp CentOS-7 - Updates enabled: 0 updates-source/7 CentOS-7 - Updates Sources disabled repolist: 18371 因為我是第一次使用yum的套件管理的OS,看起來好像是repo不對或是repo被disable, google都找不到相關的解答,希望這方面的前輩能指引些方向! 感謝!! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 203.75.190.57 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1439976879.A.F46.html

08/19 18:17, , 1F
網路有通嗎?另外檢查 name servers 有沒有設定 /etc/r
08/19 18:17, 1F

08/19 18:17, , 2F
esolve.conf
08/19 18:17, 2F

08/20 10:02, , 3F
網路有通,我可以ping網頁.目前看起來是repo還不能支援arm
08/20 10:02, 3F

08/20 10:03, , 4F
架構,不知道能不能拿fedora的來用,有人有試過嗎?謝謝
08/20 10:03, 4F
文章代碼(AID): #1Lr4slz6 (Linux)