LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Cannot retrieve repository metadata (repomd.xml) for repository (https://www.linuxquestions.org/questions/linux-server-73/cannot-retrieve-repository-metadata-repomd-xml-for-repository-820293/)

kapshure 07-16-2010 06:14 PM

Cannot retrieve repository metadata (repomd.xml) for repository
 
I am conducting an HTTP install over the wire, for CentOS 5.5 x86_64

I get all the way through the install up to the point of setting a root password. Once that happens, I get the following message:

Unable to read package metadata. This may be due to missing repodata directory. Please ensure that your install tree has been correctly generated. Cannot retrieve repository metadata (repomd.xml) for repository: anaconda-base-201004270002.x86_64. please very its path and try again

The first time this happened, I checked the "repodata" folder, and sure enough, the repomd.xml file was missing. However, I copied the entire installation directory tree back over to the HTTP install server, kicked off the install again from the test client, and received the error again.

i can browse the http://x.x.x.x/pub/ directory/tree fine, and see /CentOS directory, /repodata, etc.. all files are there.

millergroup 07-17-2010 02:50 PM

If you have a dsl connection there is possibility you are blocked because you haven't set the proxy yet? Do your connection through proxy? if so you must set the proxy by typing in terminal :


export http_proxy="http://xx.xx.xx.xx:yyyy"
export ftp_proxy="http://xx.xx.xx.xx:yyyy"
after setting the proxy, try it again.

kapshure 07-19-2010 10:25 AM

@millergroup

the HTTP install server and the test client, are both VM's, sitting on the same host box. They aren't communicating over any perimeter devices.

I installed the HTTP install server from the same iso that is being shared via the HTTP server - so I'm pretty confident the iso is complete.


All times are GMT -5. The time now is 08:48 PM.