www.centos.org Forum Index CentOS 5 - General Support [SOLVED] Enabling CentOS repos in RHEL
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: [SOLVED] Enabling CentOS repos in RHEL | #4 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
Experience?
![]() Thanks for reporting back. Marking this thread [SOLVED] for posterity. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/4/12 2:00
|
|||
|
Re: Enabling CentOS repos in RHEL | #3 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/10/7
From
Posts: 77
|
Thank you, that did it....how'd you know?
|
||
Posted on: 2012/4/11 17:08
|
|||
|
[SOLVED] Enabling CentOS repos in RHEL | #1 |
|
|---|---|---|---|
|
Regular Board Member
![]()
Joined: 2011/10/7
From
Posts: 77
|
How do I enable CentOS repos in RHEL 5.8, I tried this but am getting an error message:
[root@db3 yum.repos.d]# vi centos.repo [CentOS5.8 base] name=CentOS-5.8-Base mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=os gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 [CentOS5 updates] name=CentOS-5.8-Updates mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=updates gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 [CentOS5plus] name=CentOS-5.8-Plus mirrorlist=http://mirrorlist.centos.org/?release=5&arch=$basearch&repo=centosplus gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 [root@db3 yum.repos.d]# yum --enablerepo centos.repo Loaded plugins: katello, product-id, security, subscription-manager Updating certificate-based repositories. Bad id for repo: CentOS5.8 base, byte = 9 Bad id for repo: CentOS5 updates, byte = 7 Error getting repository data for centos.repo, repository not found [root@db3 yum.repos.d]# |
||
Posted on: 2012/4/11 16:47
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Oldest First
pschaff





You cannot start a new topic.
You can view topic.