ok I'm trying to install a local repo.
I added a new .repo in /etc/yum.repos.d/
it is called Cloudera-local.repo
here it is
[cloudera-local]
name=Cloudera's Distribution for Hadoop, Version 4
###baseurl=http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/4/
baseurl=http://127.0.0.1/HadoopRPMS/
###gpgkey =
http://archive.cloudera.com/cdh4/red...G-KEY-cloudera
####gpgcheck =1
enabled =1
I'm doint it this way because when i try to download the packages i need using yum i get an error saying Metadata does not match checksum
couldn't find an solution online that worked so i thought i would make my own repo and solve it.
I have downloaded all the repos from the server and they are in /var/www/html/HadoopRPMS/
the repomd.xml and primary.xml.gz are in /var/www/html/Hadoop/repodata
this is what happens, I'm stuck and not sure what to do to solve this issue.
edit: also i can navigate to
http://127.0.0.1/HadoopRPMS/repodata/ on my browser and open repomd.xml in the browser....
[root@example /]# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit
Cleaning repos: base cloudera-local extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@example /]# yum update
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
* base: centos.mirror.lstn.net
* extras: centos-distro.cavecreek.net
* updates: centos.digitalcompass.net
base | 3.7 kB 00:00
base/primary_db | 4.5 MB 00:11
http://127.0.0.1/HadoopRPMS/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 502"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: cloudera-local. Please verify its path and try again