无法读取包元数据.这可能是由于缺少 repodata 目录.请确保您的安装树已正确生成 [英] Unable to read package metadata. This may be due to missing repodata directory. Please ensure that your install tree has been correctly generated

查看:82
本文介绍了无法读取包元数据.这可能是由于缺少 repodata 目录.请确保您的安装树已正确生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 centos 安装新手.我下载了一个最小版本的 centos 6.5,大小约为 339.7mb.我正在尝试使用 GUI 界面安装它,但在选择驱动器选项后出现错误,这是在选择国家后出现的.这是完整的消息,

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.

推荐答案

我相信我遇到了同样的问题并且能够解决它.

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

/repodata 文件夹下的文件缺少文件扩展名,并且与同一目录下的TRANS.TBL"文件中的全名不匹配.

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.

重命名所有文件以匹配TRANS.TBL"文件中的内容,然后重新尝试安装.

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.

在过去,我只会在其中放置一个指向服务器上正确文件的 URL,我觉得大多数人都采用这种解决方法,这就是为什么它不像它应该的那样热门.我希望这在 .ISO 中得到修复.

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.

谢谢,

你的朋友

这篇关于无法读取包元数据.这可能是由于缺少 repodata 目录.请确保您的安装树已正确生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆