LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 999|回复: 6

诡异问题,关于yumex

[复制链接]
发表于 2007-11-11 19:24:05 | 显示全部楼层 |阅读模式
Errno -1] Metadata file does not match checksum,每次到update仓库yumex都会报这个错,而如果命令行用yum就没事,怎么回事呢?
发表于 2007-11-11 19:37:12 | 显示全部楼层
从昨天晚上开始的这个问题。。到现在还是这样。。
我这边也是这样。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-11-11 19:43:38 | 显示全部楼层
是吗,我还以为,我这边yumex跟什么冲突了呢
回复 支持 反对

使用道具 举报

发表于 2007-11-11 19:52:32 | 显示全部楼层
me too。

所以我也学会了终端下操作 yum。
回复 支持 反对

使用道具 举报

发表于 2007-11-11 20:46:33 | 显示全部楼层
看来有问题的不少啊,估计应该是大面积的中招,网上查到一个对于metadata和checksum的解释,比较好懂,跟大家分享一下:

To reduce load, download.fedora.redhat.com (official host) contains the ~1kB checksum for the metadata. The metadata (usually ~1 - 2 MB) is downloaded off mirrors. After downloading metadata, Yum compares the two to make sure they're one and the same.
Now, think of this: download.fedora.redhat.com updates their metadata and checksums, so you're getting the new checksum. The mirror's cronjobs havn't gone yet, therefore no synching and the metadata isn't the newest, it doesn't match.

The solution is not to makecache; Although it may help it will take forever and still not 100% solve the problem. The main problem is not giving the mirrors enough synch time. Typically, cron runs every hour, and give it a bit of time to download the changes, so I'd say try running maybe 10 minutes after an hour and you'll have no problem (eg 3:10, 4:10, 5:10, etc...). If you get closer to :50 (3:50, :50, etc) you'll start seeing more syncing issues.

Again, this too isn't 100% perfect but more of a guideline. There's a lot of guesswork...

                    From:http://forums.fedoraforum.org/archive/index.php/t-107480.html
回复 支持 反对

使用道具 举报

发表于 2007-11-11 20:47:51 | 显示全部楼层
用命令行或kyum吧。
回复 支持 反对

使用道具 举报

发表于 2007-11-11 20:50:15 | 显示全部楼层
同样问题。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表