修改CentOS-Base.repo文件,将其改成如下内容:
[base]
name=CentOS-$releasever - Base
baseurl=
gpgcheck=1
gpgkey=
#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=
gpgcheck=1
gpgkey=
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=
gpgcheck=1
gpgkey=
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=
gpgcheck=1
gpgkey=
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=
gpgcheck=1
enabled=0
gpgkey=
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=
gpgcheck=1
enabled=0
gpgkey=
阅读(629) | 评论(0) | 转发(0) |