色偷偷91综合久久噜噜-色偷偷成人-色偷偷尼玛图亚洲综合-色偷偷人人澡久久天天-国内精品视频一区-国内精品视频一区二区三区

Hello! 歡迎來到小浪云!


centos7提示無法升級/更新yum源為阿里云


avatar
小浪云 2024-10-02 171


首先編輯文件 centos-Base.repo

vi /etc/yum.repos.d/centos-Base.repo

刪除文件內默認的全部代碼,替換為 下面的代碼 

centos-Base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror to pick mirrors that are updated to and# geographically close to the client.  You should use this for centos updates# unless you are manually picking other mirrors.## if the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead.## [base]name=centos-$releasever – Base – mirrors.aliyun.comfailovermethod=prioritybaseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/        http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/        http://mirrors.cloud.aliyuncs.com/centos/$releasever/os/$basearch/gpgcheck=1gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-centos-7 #released updates [updates]name=centos-$releasever – Updates – mirrors.aliyun.comfailovermethod=prioritybaseurl=http://mirrors.aliyun.com/centos/$releasever/updates/$basearch/        http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/        http://mirrors.cloud.aliyuncs.com/centos/$releasever/updates/$basearch/gpgcheck=1gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-centos-7 #additional packages that may be useful[extras]name=centos-$releasever – Extras – mirrors.aliyun.comfailovermethod=prioritybaseurl=http://mirrors.aliyun.com/centos/$releasever/extras/$basearch/        http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/        http://mirrors.cloud.aliyuncs.com/centos/$releasever/extras/$basearch/gpgcheck=1gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-centos-7 #additional packages that extend functionality of existing packages[centosplus]name=centos-$releasever – Plus – mirrors.aliyun.comfailovermethod=prioritybaseurl=http://mirrors.aliyun.com/centos/$releasever/centosplus/$basearch/        http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/        http://mirrors.cloud.aliyuncs.com/centos/$releasever/centosplus/$basearch/gpgcheck=1enabled=0gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-centos-7 #contrib – packages by centos Users[contrib]name=centos-$releasever – Contrib – mirrors.aliyun.comfailovermethod=prioritybaseurl=http://mirrors.aliyun.com/centos/$releasever/contrib/$basearch/        http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/        http://mirrors.cloud.aliyuncs.com/centos/$releasever/contrib/$basearch/gpgcheck=1enabled=0gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-centos-7

最后保存后,清理并重新加載yum

yum clean all && yum makecache

最后再次嘗試升級

yum update -y

相關閱讀

主站蜘蛛池模板: 6080伦理久久亚洲精品 | 六月丁香七月婷婷 | 人人澡 人人澡 人人看欧美 | 中国黄色一级视频 | 狠狠色综合久久久久尤物 | www.色五月| 99re免费99re在线视频手机版 | 天天激情 | 98国产精品永久在线观看 | 日韩免费高清一级毛片 | 久久se精品动漫一区二区三区 | 天天视频天天爽 | 亚洲免费在线播放 | 久久免费国产精品一区二区 | 亚洲成人资源 | 一级国产精品一级国产精品片 | 中文字幕av一区二区三区 | 国产三级久久 | 激情午夜婷婷 | 视频一区中文字幕 | 国产制服丝袜视频 | 日日夜夜操美女 | 免费观看毛片 | 国产成人精品综合在线观看 | 国产人成精品香港三级古代 | 四虎影院在线免费观看 | 伊人色院成人蜜桃视频 | 99久久综合精品免费 | 91久久精品国产免费一区 | 国产性夜夜夜春夜夜爽 | 综合五月 | 黄色一级毛片网站 | 久久久久国产精品免费免费 | 一本色道久久88亚洲精品综合 | 天天看片天天a免费观看 | 四虎在线精品免费高清在线 | 亚洲嫩草影院久久精品 | 亚洲www| 色聚网 | 免费可以看黄的视频 s色 | 久久免费精品 |