0

I have RedHat 6 installed and would like to use the Centos 6 devtools. I found instructions for using the repo here. I have tested this method on Centos 6 and it worked fine. However, it doesn't work on RedHat 6.6 for some reason. I get the error message:

$ yum repolist
http://people.centos.org/tru/devtools-1.1/6Client/x86_64/RPMS/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"

I was under the impression that rhel and centos were effectively the same os.

DJames
  • 101

2 Answers2

0

Because your package manager (configured for Redhat) is looking for files where RedHat would put them. However, this is CentOS's repository, so it is configured their way. Here's the CentOS confguration: http://people.centos.org/tru/devtools-1.1. There are no directories named 6Client, which is why you got a 404. You'll need to use the redhat repositories on redhat.

Ohnana
  • 681
0

I ultimately got it working by replacing the strings "$releaserver", "$basearch", and "$infra" with "6","x86_64", and "stock" respectively in the repos files.

DJames
  • 101