YUM錯誤訊息找不到解..(ARM平台) - Linux

Margaret avatar
By Margaret
at 2015-08-19T17:34

Table of Contents

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都找不到相關的解答,希望這方面的前輩能指引些方向!
感謝!!


--
Tags: Linux

All Comments

Rebecca avatar
By Rebecca
at 2015-08-23T22:23
網路有通嗎?另外檢查 name servers 有沒有設定 /etc/r
esolve.conf
Xanthe avatar
By Xanthe
at 2015-08-27T21:19
網路有通,我可以ping網頁.目前看起來是repo還不能支援arm
David avatar
By David
at 2015-08-30T06:29
架構,不知道能不能拿fedora的來用,有人有試過嗎?謝謝

SFTP權限問題

Hazel avatar
By Hazel
at 2015-08-18T17:46
我自己在用,所以只有一個帳號 跟現在使用者是一樣的,假設叫做z好了 環境都是區域網路內 我是用手機連上,使用key登入 有幾個問題 1.能不限制權限? 撇開安全性,除了root之外不能有其他帳戶能存取其他目錄? 因為掛載點很多,可以read /mnt 的載點內容,但是不能write 擁有者也屬於z 2.自 ...

中文檔名變成fsck0000.000

Bennie avatar
By Bennie
at 2015-08-18T13:13
不知道這這裡問合適嗎?PTT沒電子閱讀器的板.... 手上兩台以 Linux為OS基礎的電子書閱讀器, Kindle 3 和 Kobo Touch 都有一樣的問題: 部分的中文檔名無法辨識,只要把文件名稱包含 某些字的電子書copy進去,一定會變成fsck000x.00x 等檔案,閱讀器不能正常閱讀。 電 ...

ubuntu字型

Mia avatar
By Mia
at 2015-08-17T20:10
※ 引述《edash (團長)》之銘言: : 板友好 : 我的ubuntu是15.04版 : 大概安裝3個月左右 : 近期發生資料夾中的字型(中文、英文)都有破碎的問題 : 而應用程式裡的字型應都正常 : 實不知該如何處理 : 希望有經驗的板友能協助釋疑 : 謝謝 如果不怕麻煩,有冒險犯難的精神的話,請 ...

新.Fedora套件管理器dnf

Candice avatar
By Candice
at 2015-08-16T12:33
Fedora 22正式把dnf設成預設的rpm管理器,取代yum (yum全改為相容模式) 主要差別是使用了新的dependency resolver,讓autoremove功能更快更準確 以及把大多數的yum plugins/utils功能整合進來 但我覺得最大的使用經驗改變是:速度飛快啊 (讓我想到sy ...

usb隨身碟格式化後不能用

Blanche avatar
By Blanche
at 2015-08-16T10:59
我用ubuntu 格式化成 ntfs 格式後能再ubuntu 存取檔案, 可是拿到 windows 下會讀不到 可是用windows 格式化ntfs 格式, 就能再 windows andamp; ubuntu 都能存取檔案 請問一下ubuntu 做格式化ntfs 為什麼會發生這樣情況? 我三支隨身碟都 ...