Unable to read package metadata. This may be due to missing repodata directory. Please ensure that your install tree has been correctly generated

Indra KP picture Indra KP · Feb 7, 2014 · Viewed 29.1k times · Source

I am new for centos installation. I downloaded a minimul version of centos 6.5, around 339.7mb of size. I am trying to install this with GUI interface but I got an error after selecting the drive option, which comes after selecting the country. This is complete message,

Unable to read package metadata. This may be due to missing repodata directory. Please ensure that your install tree has been correctly generated. 

Failare:
repodata/743fec56b2af0ce8d6ec82c47a4efafc2a4d18cddfa9683f29611cb18d1a33de-primary.sqlite.bz2 from anaconda-CentOS-201311271240.i386: [Ermo 256] No more mirrors to try.   

Sorry but I am new here, so I can't put the exact image here.

Answer

Bradlee818 picture Bradlee818 · Feb 10, 2014

I believe that i had this same issue and was able to solve it.

The files under the /repodata folder are missing their file extensions and are not matching their full names in the "TRANS.TBL" file, under this same dir.

Rename all the files to match what is in the "TRANS.TBL" file, then try the install over again.

Please let everyone know if this works for you.

In the past i would just put a URL in that pointed to the correct files on a server, i feel that most people take this workaround and that's why it's not as hot of an item as it should be. I hope this gets fixed in the .ISO.

Thank you,

YourFriend