找到好的就快快记下来,以备查用。
第一配置文件
#vi rhel-debuginfo.repo
[base]
name=CentOS-5 - Base
#mirrorlist=
repo=os
#baseurl=
baseurl=
gpgcheck=1
gpgkey=
#released updates
[update]
name=CentOS-5 - Updates
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
#mirrorlist=
baseurl=
gpgcheck=1
enabled=0
gpgkey=
#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib
#mirrorlist=
baseurl=
gpgcheck=1
enabled=0
gpgkey=
第二配置文件
# vi dag.repo
[dag]
name=Dag RPM Repository for RHEL5
baseurl=
enabled=1
gpgcheck=1
gpgkey=
第三配置文件
#vi mirrors-rpmforge
#
第四个配置文件
# vi rpmforge.repo
# Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
# URL:
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl =
mirrorlist =
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
GPG key retrieval failed: [Errno 14] HTTP Error 404: Not Found 报这个错误时,修改repo gpgcheck=0
阅读(803) | 评论(0) | 转发(0) |