rpm的repomd.xml相关的问题

WO浣熊OW 2013-11-04 05:48:31
问题描述:执行命令yum list时输出如下:

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
optional-rpms | 951 B 00:00 ...
file:///mnt/repodata/primary.xml.gz: [Errno 14] Could not open/read file:///mnt/repodata/primary.xml.gz
Trying other mirror.
file:///mnt/repodata/primary.xml.gz: [Errno 14] Could not open/read file:///mnt/repodata/primary.xml.gz
Trying other mirror.
Error: failure: repodata/primary.xml.gz from optional-rpms: [Errno 256] No more mirrors to try.


在往后桑查资料说:新的yum中用的是sha256加密,以前的是md5sum,所以需要重新创建库.使用
createrepo ,加上 -s md5sum 就可以了。

可是在我的系统中不能使用createrepo命令。
具体的实现方法到底是什么?

请各位帮帮忙~~~
...全文
196 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

23,120

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧