国产欧美日韩第一页|日本一二三不卡视频|在线精品小视频,亚洲第一免费播放区,metcn人体亚洲一区,亚洲精品午夜视频

幫助中心 >  技術(shù)知識(shí)庫(kù) >  云服務(wù)器 >  服務(wù)器教程 >  centos7更新失敗,提示:Could not retrieve mirrorlist http://mirrorlist.centos.org

centos7更新失敗,提示:Could not retrieve mirrorlist http://mirrorlist.centos.org

2024-09-05 19:59:33 886

centos7更新失敗,提示Could not retrieve mirrorlist http://www.tjdsmy.cn?arch=x86_64&release=7&repo=sclo-rh

 

藍(lán)隊(duì)云小課堂:

 

centos7更新失敗,執(zhí)行yum update -y提示Could not retrieve mirrorlist http://www.tjdsmy.cn?arch=x86_64&release=7&repo=sclo-rh 。

 

懷疑是更新源方面出錯(cuò)了,更換aliyun的源之后還是報(bào)錯(cuò),無(wú)法執(zhí)行更新。

執(zhí)行yum clean all && yum makecache重新生成緩存也報(bào)錯(cuò)

 

查看/etc/yum.repos.d里面除了新設(shè)置的源CentOS-Base.repo,還有其他 *.repo文件,將其他的*.repo全部刪除。

 

重新執(zhí)行yum clean all && yum makecache重新生成緩存正常。

 

再次嘗試升級(jí)

yum update -y

更新正常。

 

更多小知識(shí),可聯(lián)系藍(lán)隊(duì)云一起探討。

 


提交成功!非常感謝您的反饋,我們會(huì)繼續(xù)努力做到更好!

這條文檔是否有幫助解決問(wèn)題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進(jìn)一步的反饋信息:

在文檔使用中是否遇到以下問(wèn)題: