centos - Linux

Table of Contents


遇到問題如下:

有什麼方式 能解決??

CENTOS 7

可以 PING




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/etc. 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 is unavailable.
Note that yum will try to contact the repo. when it runs most
commands,
so will have to try and fail each time (and thus. yum will 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_unavailable=true

--

--

All Comments

Ethan avatarEthan2015-09-15
你是做了什麼出現這資訊?
Ethan avatarEthan2015-09-16
要裝epel不用這樣裝阿,直接yum install epel-release
Odelette avatarOdelette2015-09-18
這看起來是被更新後的repo出問題,所以yum會跳這個訊息
Skylar Davis avatarSkylar Davis2015-09-19
可是我照你的去打(重新裝一個mini版),可以更新...
Madame avatarMadame2015-09-19
@@~~ 我想自殺~~冏
Belly avatarBelly2015-09-22
別這樣~研究看看哪問題
Iris avatarIris2015-09-22
也是跟我最小安裝?
Bennie avatarBennie2015-09-23
別這樣,可能只是 repo 剛好出問題,我試 mini 可安裝
Megan avatarMegan2015-09-27
我也是 yum 掛了 看來是 http://dl.atrpms.net/ 連不上
Emily avatarEmily2015-09-30
完全安裝 ~~開發的
Rachel avatarRachel2015-10-04
桌面版?
Edward Lewis avatarEdward Lewis2015-10-04
式的 桌面
Irma avatarIrma2015-10-09
最後一個安裝選項右邊全勾這樣嗎?
Carolina Franco avatarCarolina Franco2015-10-10
是的
Freda avatarFreda2015-10-13
晚點測試看看
Franklin avatarFranklin2015-10-15
全安裝開機預設yum會啟動,你是先關掉再更新epel的?
Oscar avatarOscar2015-10-17
啟動的 灌完 跑全更新
Madame avatarMadame2015-10-19
呃...我不用那更新的...關了他再用你的那兩條OK
Vanessa avatarVanessa2015-10-22
試試把Centos-XXX.repo以外的repo先刪除掉或更名repo.bk
Donna avatarDonna2015-10-26
然後跑yum讓他抓預設值看看
Mia avatarMia2015-10-30
所謂的更新是 桌面 選單內有軟體更新 去更新
Jessica avatarJessica2015-11-03
所以你是灌完 用軟體更新去更新完後 去終端機打那兩行?
Enid avatarEnid2015-11-08
是的