执行校验和时出错

时间:2014-10-09 09:41:26

标签: java ruby-on-rails linux ubuntu redhat

使用yum安装软件包时会抛出

[Errno -3] Error performing checksum

我发现特定包已经升级到校验和下载选项。如何解决这个问题?

我尝试在createrepo -dv .中创建/etc/yum.conf并更改基本网址,但未产生任何结果。基本上我在linux中安装rails时面临:

Linux xxxx 2.6.18-371.0.0.0.1.el5xen #1 SMP Tue Oct 1 05:48:31 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux

bash-3.2$ sudo yum install gcc-c++ patch readline readline-devel zlib zlib-devel
Password:
base                                                                                              | 1.9 kB     00:00
base/primary_db                                                                                   | 1.9 kB     00:00
el5_latest                                                                                        | 1.4 kB     00:00
epel                                                                                              | 3.7 kB     00:00
hudson                                                                                            | 2.9 kB     00:00
hudson/primary_db                                                                                 | 4.8 kB     00:00
http://hudson-ci.org/redhat/repodata/6033de5d5abbc355e98d833bbc0b821cdbad47f72b7fafe0fb82c297197f66dc-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
hudson/primary_db                                                                                 | 4.8 kB     00:00
http://hudson-ci.org/redhat/repodata/6033de5d5abbc355e98d833bbc0b821cdbad47f72b7fafe0fb82c297197f66dc-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/6033de5d5abbc355e98d833bbc0b821cdbad47f72b7fafe0fb82c297197f66dc-primary.sqlite.bz2 from hudson: [Errno 256] No more mirrors to try.

1 个答案:

答案 0 :(得分:1)

我能够在OEL6版本中解决。