centos - Linux

Quintina avatar
By Quintina
at 2015-09-10T14:49

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

--

--
Tags: Linux

All Comments

Ethan avatar
By Ethan
at 2015-09-15T09:10
你是做了什麼出現這資訊?
Ethan avatar
By Ethan
at 2015-09-16T01:04
要裝epel不用這樣裝阿,直接yum install epel-release
Odelette avatar
By Odelette
at 2015-09-18T00:48
這看起來是被更新後的repo出問題,所以yum會跳這個訊息
Skylar Davis avatar
By Skylar Davis
at 2015-09-19T02:35
可是我照你的去打(重新裝一個mini版),可以更新...
Madame avatar
By Madame
at 2015-09-19T16:10
@@~~ 我想自殺~~冏
Belly avatar
By Belly
at 2015-09-22T00:45
別這樣~研究看看哪問題
Iris avatar
By Iris
at 2015-09-22T10:00
也是跟我最小安裝?
Bennie avatar
By Bennie
at 2015-09-23T04:28
別這樣,可能只是 repo 剛好出問題,我試 mini 可安裝
Megan avatar
By Megan
at 2015-09-27T10:02
我也是 yum 掛了 看來是 http://dl.atrpms.net/ 連不上
Emily avatar
By Emily
at 2015-09-30T02:42
完全安裝 ~~開發的
Rachel avatar
By Rachel
at 2015-10-04T00:37
桌面版?
Edward Lewis avatar
By Edward Lewis
at 2015-10-04T12:56
式的 桌面
Irma avatar
By Irma
at 2015-10-09T02:05
最後一個安裝選項右邊全勾這樣嗎?
Carolina Franco avatar
By Carolina Franco
at 2015-10-10T06:25
是的
Freda avatar
By Freda
at 2015-10-13T17:44
晚點測試看看
Franklin avatar
By Franklin
at 2015-10-15T13:25
全安裝開機預設yum會啟動,你是先關掉再更新epel的?
Oscar avatar
By Oscar
at 2015-10-17T12:36
啟動的 灌完 跑全更新
Madame avatar
By Madame
at 2015-10-19T10:35
呃...我不用那更新的...關了他再用你的那兩條OK
Vanessa avatar
By Vanessa
at 2015-10-22T11:15
試試把Centos-XXX.repo以外的repo先刪除掉或更名repo.bk
Donna avatar
By Donna
at 2015-10-26T21:53
然後跑yum讓他抓預設值看看
Mia avatar
By Mia
at 2015-10-30T06:41
所謂的更新是 桌面 選單內有軟體更新 去更新
Jessica avatar
By Jessica
at 2015-11-03T02:29
所以你是灌完 用軟體更新去更新完後 去終端機打那兩行?
Enid avatar
By Enid
at 2015-11-08T01:46
是的

在 Ubuntu 14.04 上面使用 pyenv

Irma avatar
By Irma
at 2015-09-09T15:08
http://fourdollars.blogspot.tw/2015/09/ubuntu-1404-pyenv-virtualenv-django.html 主要是想要使用目前最新版本的 Python 2.7.10 跟 Django 1.8.4 來練習開發網站。 把過程記錄下來留給未來的自己,也順便分享給大 ...

SquidGuard 安裝教學及下載元件

Yuri avatar
By Yuri
at 2015-09-09T11:14
※ 引述《wcghy777 (i96)》之銘言: : 各位大大好 : 公司主管某天叫我去研究 suse linux的squidguard的功能 : google找了一下 找不到什麼教學 不然就是幾行帶過 小弟質淺 : 希望板上有人可以教學一下 感謝~! 執行squudgurad路徑在urs/local/ ...

minicon config完沒儲存

Connor avatar
By Connor
at 2015-09-08T18:35
如題~ 我一開始minicom 的serial port設錯 進不去 後來找到對的serial port之後 改完之後 可以用 但是之後每次要用都會說找到錯的serial port 都要config一次 有點麻煩 ThinkCentre-M57e:~$ minicom minicom: cannot op ...

OpenSUSE移除軟體&smplayer疑問

Hedy avatar
By Hedy
at 2015-09-08T10:59
有兩個問題想請問各位高手, 一是在OpenSUSE 13.2用內建的安裝/移除軟體移除軟體的時候, 即便移除的軟體和播放器無關(例:wine),都會自動安裝vlc播放器, 雖說用zypper rm就沒有上述困擾,但是這樣要向不碰指令的人推廣OpenSUSE, 就有點困難,請問,有方法可以避免嗎? 二是最近 ...

SquidGuard 安裝教學及下載元件

Aaliyah avatar
By Aaliyah
at 2015-09-07T15:34
各位大大好 公司主管某天叫我去研究 suse linux的squidguard的功能 google找了一下 找不到什麼教學 不然就是幾行帶過 小弟質淺 希望板上有人可以教學一下 感謝~! - ...