yum 源問題

cd /etc/yum.repos.d/vim

wget http://mirrors.163.com/.help/CentOS6-Base-163.repocentos

vim CentOS6-Base-163.repospa

編輯文件,把文件裏面的$releasever所有替換爲版本號,即6最後保存!orm

:%s/$releasever/6/gget


目前centos 6.5版本 網易 http://mirrors.163.com yum源存在問題, update目錄少文件,建議換成 aliyun 的yum源。it

相關文章
相關標籤/搜索