忘记密码   免费注册 查看新帖 | 论坛精华区
ChinaUnix.net
  平台论坛 博客 微博 读书 人才 精华 文库 自测 | 频道操作系统 开发 数据库 存储 服务器 网络 IT新闻 Linux 下载 Power用户组
最近访问板块 发新帖
查看: 1632 | 回复: 21

[CentOS] centos的yum问题 [复制链接]
更多

Rank: 1

帖子
180
主题
26
精华
0
可用积分
313
专家积分
5
在线时间
75 小时
注册时间
2008-07-14
最后登录
2011-12-22
论坛徽章:
0
发表于 2009-06-30 11:33:21 |显示全部楼层
我用的centos5。3以一直不能顺利的用yum装个东西
每次都是提示如下.我照网上说的yum clean all yum clean metadata 都试过了。都没有效果。我修改了源。甚至重装了系统还是一样。有同样情况的朋友么。
  1. [Errno -1] Metadata file does not match checksum
  2. Trying other mirror.
复制代码

Rank: 5Rank: 5

帖子
11938
主题
627
精华
1
可用积分
5046
专家积分
10
在线时间
855 小时
注册时间
2005-05-27
最后登录
2012-02-06
论坛徽章:
0
发表于 2009-06-30 11:58:31 |显示全部楼层
没有遇到过。

首先你要确保你的网络是好的;
其次再将出错信息帖出来看看。

Rank: 1

帖子
195
主题
32
精华
0
可用积分
321
专家积分
0
在线时间
68 小时
注册时间
2008-01-22
最后登录
2012-02-08
论坛徽章:
0
发表于 2009-06-30 12:11:45 |显示全部楼层
将出错信息帖出来看看

Rank: 1

帖子
180
主题
26
精华
0
可用积分
313
专家积分
5
在线时间
75 小时
注册时间
2008-07-14
最后登录
2011-12-22
论坛徽章:
0
发表于 2009-06-30 12:14:01 |显示全部楼层
网络没有问题
  1. [root@localhost ~]# yum update
  2. Loaded plugins: fastestmirror, verify
  3. Loading mirror speeds from cached hostfile
  4. * base: centos.cs.nctu.edu.tw
  5. * updates: centos.cs.nctu.edu.tw
  6. * addons: centos.cs.nctu.edu.tw
  7. * extras: centos.cs.nctu.edu.tw
  8. base                                                     | 1.1 kB     00:00     
  9. primary.xml.gz                                           | 878 kB     00:14     
  10. http://centos.cs.nctu.edu.tw/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  11. Trying other mirror.
  12. primary.xml.gz                                           | 878 kB     14:33     
  13. http://ftp.daum.net/centos/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  14. Trying other mirror.
  15. primary.xml.gz                                           | 878 kB     00:16     
  16. http://centos.mirror.cdnetworks.com/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  17. Trying other mirror.
  18. primary.xml.gz                                           | 878 kB     00:17     
  19. http://ftp.tcc.edu.tw/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  20. Trying other mirror.
  21. primary.xml.gz                                           | 878 kB     00:16     
  22. http://centos.ustc.edu.cn/centos/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  23. Trying other mirror.
  24. primary.xml.gz                                           | 878 kB     00:42     
  25. http://ftp.isu.edu.tw/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  26. Trying other mirror.
  27. primary.xml.gz                                           | 878 kB     00:14     
  28. http://ftp.twaren.net/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  29. Trying other mirror.
  30. primary.xml.gz                                           | 878 kB     00:15     
  31. http://centos.yubis.org/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  32. Trying other mirror.
  33. primary.xml.gz                                           | 878 kB     00:31     
  34. http://ftp.stu.edu.tw/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  35. Trying other mirror.
  36. primary.xml.gz                                           | 878 kB     00:32     
  37. http://ftp.cs.pu.edu.tw/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  38. Trying other mirror.
  39. primary.xml.gz                                           | 878 kB     00:28     
  40. http://centos.cs.nctu.edu.tw/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  41. Trying other mirror.
  42. primary.xml.gz                                          | 878 kB     14:31     
  43. http://ftp.daum.net/centos/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  44. Trying other mirror.
  45. primary.xml.gz                                          |  99 kB     00:14     
  46. http://centos.mirror.cdnetworks.com/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  47. Trying other mirror.
  48. primary.xml.gz                                          | 878 kB     00:36     
  49. http://ftp.tcc.edu.tw/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  50. Trying other mirror.
  51. primary.xml.gz                                          | 878 kB     00:28     
  52. http://centos.ustc.edu.cn/centos/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  53. Trying other mirror.
  54. primary.xml.gz                                          | 878 kB     00:51     
  55. http://ftp.isu.edu.tw/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  56. Trying other mirror.
  57. primary.xml.gz                                          | 878 kB     00:48     
  58. http://ftp.twaren.net/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  59. Trying other mirror.
  60. primary.xml.gz                                          | 878 kB     00:28     
  61. http://centos.yubis.org/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  62. Trying other mirror.
  63. primary.xml.gz                                          | 878 kB     00:26     
  64. http://ftp.stu.edu.tw/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  65. Trying other mirror.
  66. primary.xml.gz                                          | 878 kB     00:27     
  67. http://ftp.cs.pu.edu.tw/Linux/CentOS/5.3/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  68. Trying other mirror.
  69. Error: failure: repodata/primary.xml.gz from base: [Errno 256] No more mirrors to try.
复制代码

Rank: 1

帖子
195
主题
32
精华
0
可用积分
321
专家积分
0
在线时间
68 小时
注册时间
2008-01-22
最后登录
2012-02-08
论坛徽章:
0
发表于 2009-06-30 13:39:37 |显示全部楼层
你的网络没有问题,有问题的是你的yum源。建议换成别的源,比如163的
男性it民工

Rank: 8Rank: 8

帖子
33272
主题
152
精华
3
可用积分
107486
专家积分
563
在线时间
7048 小时
注册时间
2001-12-24
最后登录
2012-02-09
论坛徽章:
0
发表于 2009-06-30 13:49:53 |显示全部楼层
换163的源看看
好读书,不求甚解;每有会意,便欣然忘食
宝剑锋从磨砺出,梅花香自苦寒来!!!

Rank: 1

帖子
180
主题
26
精华
0
可用积分
313
专家积分
5
在线时间
75 小时
注册时间
2008-07-14
最后登录
2011-12-22
论坛徽章:
0
发表于 2009-06-30 14:09:00 |显示全部楼层
还是一样的。我重做系统都还是这样。
  1. [root@localhost base]# yum update
  2. Loaded plugins: fastestmirror, verify
  3. Loading mirror speeds from cached hostfile
  4. base                                                     | 1.1 kB     00:00     
  5. primary.xml.gz                                           | 878 kB     00:22     
  6. http://mirror.centos.org/centos/5/os/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
  7. Trying other mirror.
复制代码
男性it民工

Rank: 8Rank: 8

帖子
33272
主题
152
精华
3
可用积分
107486
专家积分
563
在线时间
7048 小时
注册时间
2001-12-24
最后登录
2012-02-09
论坛徽章:
0
发表于 2009-06-30 14:11:39 |显示全部楼层
yum clean all先
好读书,不求甚解;每有会意,便欣然忘食
宝剑锋从磨砺出,梅花香自苦寒来!!!
男性it民工

Rank: 8Rank: 8

帖子
33272
主题
152
精华
3
可用积分
107486
专家积分
563
在线时间
7048 小时
注册时间
2001-12-24
最后登录
2012-02-09
论坛徽章:
0
发表于 2009-06-30 14:18:55 |显示全部楼层
好读书,不求甚解;每有会意,便欣然忘食
宝剑锋从磨砺出,梅花香自苦寒来!!!

Rank: 8Rank: 8

帖子
16373
主题
1580
精华
4
可用积分
20630
专家积分
50
在线时间
2068 小时
注册时间
2005-05-08
最后登录
2012-02-09
论坛徽章:
0
发表于 2009-06-30 15:06:03 |显示全部楼层

回复 #1 crisman 的帖子

建议使用dvd 建立一个centos 5.3的本地的源
这个对于在本地操作是很简单的
有问题加QQ964891849 群27053595,遇忙邮件LVS-HOWTO中文翻译计划
Linux开源技术指导 提供专业Linux技术支持,Linux系统定制指导;每天坚持CU 1小时
您需要登录后才可以回帖 登录 | 注册

北京皓辰网域网络信息技术有限公司. 版权所有 京ICP证:060528号 北京市公安局海淀分局网监中心备案编号:1101082001
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP