最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

這應(yīng)該是跟虛擬機(jī)連上了吧 不知道這是怎么回事

[lane@localhost ~]$ sudo yum install vim

[sudo] password for lane:

已加載插件:fastestmirror

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

14: curl#6 - "Could not resolve host: mirrorlist.centos.org; 未知的錯(cuò)誤"



?One of the configured repositories failed (未知),

?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. Run the command with the repository temporarily disabled

? ? ? ? ? ? yum --disablerepo=<repoid> ...


? ? ?4. Disable the repository permanently, 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>

? ? ? ? or

? ? ? ? ? ? subscription-manager repos --disable=<repoid>


? ? ?5. 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


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


正在回答

2 回答

base源的問(wèn)題吧

可以安裝epel源試一試

yum install epel-release

看起來(lái)要在/etc/yum.repos.d/目錄中的base文件中的某個(gè)repo設(shè)為disabled

0 回復(fù) 有任何疑惑可以回復(fù)我~

檢查網(wǎng)絡(luò)是否正常。

搜索關(guān)鍵詞:

Could not resolve host: mirrorlist.centos.org; 未知的錯(cuò)誤

參考鏈接

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

這應(yīng)該是跟虛擬機(jī)連上了吧 不知道這是怎么回事

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)