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

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

 

Intentando instalar Centos desde una USB me tope con que falla despues de crear las particiones, enviando el mensaje:

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

Failure: repodata/b85459c994eba1933adfbe8a0038daf80c009f089526208c27 983f6db9d3bf9-primary.sqlite.bz2 from anaconda-InstallationRepo-201009210258.i386: [Errno 256] No more mirrors to try.”

Despues de buscarle un rato, resulta que tanto WinRAR, iso2usb, unetbootin te truncan los nombres de los archivos en repodata:

3dec907fb6162a186a8526dde05065c2e4f7f0b60e941d18fd 183c9e01ae85ab
77fa5e5f2714adb0e3113cf2e599c08f9e09195d169f913291 7b96353f2ebed1
718d9471a76afa16a9d77fa2770172513e06664042b5bb3424 c6600de92531aa
b124f0ec5323cfee56b420906a3103f0daef656dde3f7ac822 0120aa7504e57a
0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e 8f4fd1d62d95de
34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c 4c04274bae0f59
6503f7f553700787c0a1d8a5c21fcfd6374e6cea68b6d7eb3d a04ca06fed6132
ce2d698b9fb1413b668443e88835a0642cea8f387c7f25cc94 6f56dd93f109bb

La solucion: Sencillamente renombrarlos para que coincidan con lo que pide en repomd.xml

3dec907fb6162a186a8526dde05065c2e4f7f0b60e941d18fd 183c9e01ae85ab-other.sqlite.bz2
77fa5e5f2714adb0e3113cf2e599c08f9e09195d169f913291 7b96353f2ebed1-filelists.xml.gz
718d9471a76afa16a9d77fa2770172513e06664042b5bb3424 c6600de92531aa-other.xml.gz
b124f0ec5323cfee56b420906a3103f0daef656dde3f7ac822 0120aa7504e57a-primary.xml.gz
0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e 8f4fd1d62d95de-primary.sqlite.bz2
34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c 4c04274bae0f59-c6-minimal-x86_64.xml
6503f7f553700787c0a1d8a5c21fcfd6374e6cea68b6d7eb3d a04ca06fed6132-filelists.sqlite.bz2
ce2d698b9fb1413b668443e88835a0642cea8f387c7f25cc94 6f56dd93f109bb-c6-minimal-x86_64.xml.gz

Saludos!