安裝Linux報錯Unable to read package metadata. This may

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.

一、問題說明java

Windows 下面安裝Linux 報上面的錯誤。linux

二、緣由sql

repodata 下面的文件名後綴被省略了。this

二、解決方法
spa

添加正確的後綴名3d

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.
It worked for me. I renamed all 8 files. i.e. 0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de 0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
The correct file name is given in file "repomd" under folder repodata example - location href="repodata/b124f0ec5323cfee56b420906a3103f0daef656dde3f7ac8220120aa7504e57a-primary.xml.gz"

經過查看linux 安裝文件下面的repodata/repomd 這個文件裏面的各個正確的後綴名,而後從新命名repdata下面的文件。code

相關文章
相關標籤/搜索