一区二区日本_久久久久久久国产精品_无码国模国产在线观看_久久99深爱久久99精品_亚洲一区二区三区四区五区午夜_日本在线观看一区二区

centos系統(tǒng)中yum出現(xiàn)“Could not retrieve mirrorlist ”的處理方法

問(wèn)題通常是在使用yum時(shí)候出現(xiàn)如下類似的錯(cuò)誤內(nèi)容?

Loaded plugins: fastestmirror, langpacks

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was

12: Timeout on http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock: (28, 'Resolving timed out after 30383 milliseconds')

?

?

?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

?

? ? ?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=.skip_if_unavailable=true

?

Cannot find a valid baseurl for repo: base/7/x86_64

這種情況通常是,是因?yàn)闆](méi)有配置DNS服務(wù)器。愛(ài)掏網(wǎng) - it200.com

解決方法:用VI編輯resolv.conf文件

命令

vi /etc/resolv.conf

添加:

nameserver 114.114.114.114 ? ?國(guó)內(nèi)的

wq

保存退出即可





聲明:所有內(nèi)容來(lái)自互聯(lián)網(wǎng)搜索結(jié)果,不保證100%準(zhǔn)確性,僅供參考。如若本站內(nèi)容侵犯了原著者的合法權(quán)益,可聯(lián)系我們進(jìn)行處理。
發(fā)表評(píng)論
更多 網(wǎng)友評(píng)論0 條評(píng)論)
暫無(wú)評(píng)論

返回頂部

主站蜘蛛池模板: 少妇诱惑av| 91精品国产综合久久婷婷香蕉 | 国产精品国产成人国产三级 | 久久亚洲综合 | 成人在线精品视频 | 亚洲欧美网站 | 久久精品久久久 | 久久青 | 国产高清视频 | 桃花av在线 | 免费黄网站在线观看 | 日韩日韩日韩日韩日韩日韩日韩 | 欧美视频在线播放 | 中文字幕一区二区三区四区 | 中文字幕不卡在线观看 | 日本精品一区二区三区视频 | 国产xxx在线观看 | 中文字幕一区二区三区四区五区 | 成年人在线视频 | 国产精品一区二区三区四区 | 国产一区二区免费 | 久久精品亚洲国产 | 在线成人精品视频 | 91成人在线视频 | 国产激情精品视频 | 在线观看中文字幕一区二区 | 国产免费人成xvideos视频 | 日韩精品 电影一区 亚洲 | 久久久久久久久综合 | 欧美日韩黄色一级片 | 国产综合精品 | 精品国产31久久久久久 | 国产欧美日韩精品一区 | 日韩成人免费 | 久久av网站 | 久草在线视频中文 | 亚洲国产精选 | 天天干狠狠干 | 久久精品视频91 | 精品99爱视频在线观看 | 久久伊 |