1

Topic: Checksum error on iredmail.repo

Hi

1. I got checksum error after running $bash get_all.sh
Error:
[root pkgs]# sh get_all.sh
< INFO > Creating necessary directories ...
< INFO > Checking necessary command/package: which/which.i386 ...
< INFO > Checking necessary command/package: wget/wget.i386 ...
< INFO > Checking necessary command/package: createrepo/createrepo.noarch ...
< INFO > ==================== Fetching Binary Packages ====================
< INFO > * 1/58: http://www.iredmail.org/yum/rpms/5/mhas … 5.i386.rpm
< INFO > * 2/58: http://www.iredmail.org/yum/rpms/5/perl … f.i386.rpm
....
< INFO > * 57/58: http://www.iredmail.org/yum/rpms/5/mod_ … d.i386.rpm
< INFO > * 58/58: http://www.iredmail.org/yum/rpms/5/dove … 5.i386.rpm
< INFO > Generating yum repository ...  [ OK ]
< INFO > ==================== Fetching Source Tarballs ====================
< INFO > * 1/17: http://www.iredmail.org/yum/misc/postfi … 1.1.tar.gz
< INFO > * 2/17: http://www.iredmail.org/yum/misc/phpMyA … es.tar.bz2
...
< INFO > * 16/17: http://www.iredmail.org/yum/misc/add_ad … 4.0.tar.gz
< INFO > * 17/17: http://www.iredmail.org/yum/misc/iRedAd … .1.tar.bz2
< INFO > Validate Packages via md5sum ...pkgs/mhash-0.9.2-6.el5.i386.rpm: FAILED
pkgs/perl-Digest-SHA-5.47-1.el5.rf.i386.rpm: FAILED
pkgs/php-mhash-5.1.6-4.el5.i386.rpm: FAILED
...
misc/add_address-1.0.1-1.4.0.tar.gz: FAILED
misc/iRedAdmin-0.1.1.tar.bz2: FAILED
md5sum: WARNING: 75 of 75 computed checksums did NOT match
< ERROR > MD5 check failed. Check your rpm packages. Script exit ...

2. I'm running on CentOS 5.4, fresh installation. Then after that, I try to install iRedMail but some packages could not be found. $bash iRedMail.sh
"
No package php-pecl-fileinfo.i386 available.
No package awstats.noarch available.
...
No package perl-Mail-SPF-Query.noarch available.
No package mod_wsgi.i386 available.
"

3. I tried to install it manually : $rpm -ivh python-jinja2-2.2.1-1.el5.i386.rpm
but it does not works. The error message is:
"
error: open of <HTML><BODY>The failed: No such file or directory
...
error: open of URL failed: No such file or directory
error: open of = failed: No such file or directory
error: open of www.iredmail.org/yum/rpms/5/python-jinja2-2.2.1-1.el5.i386.rpm</BODY></HTML> failed: No such file or directory
"

4. I also tried download the rpm file then install but it still the same:
$wget  www.iredmail.org/yum/rpms/5/python-jinja2-2.2.1-1.el5.i386.rpm
$rpm -ivh python-jinja2-2.2.1-1.el5.i386.rpm

My iRedMail.repo:
[root pkgs]# cat /etc/yum.repos.d/iRedMail.repo
[iRedMail]
name=Yum repo generated by iRedMail: http://iRedMail.googlecode.com/
baseurl=file:///tmp/iRedMail-0.5.1/pkgs/pkgs/
enabled=1
gpgcheck=0
priority=1

Could you please help me what to do in this situation?

Thanks & Regards,
Thu Nguyen.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by shake 2010-01-06 18:04:14)

Re: Checksum error on iredmail.repo

I have try it ,but no problm, in centos 5.4 and iredmail 0.51

you can use script uninstall iredmail and download again.



< INFO > * 16/17: http://www.iredmail.org/yum/misc/add_ad … 4.0.tar.gz
< INFO > * 17/17: http://www.iredmail.org/yum/misc/iRedAd … .1.tar.bz2
< INFO > Validate Packages via md5sum ...       [ OK ]
< INFO > Checking necessary command/package: dialog/dialog.i386 ...
< INFO > Installing package(s): dialog.i386
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
iRedMail                                                 |  951 B     00:00     
iRedMail/primary                                         |  21 kB     00:00     
iRedMail                                                                  58/58
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dialog.i386 0:1.0.20051107-1.2.2 set to be updated
--> Finished Dependency Resolution

3

Re: Checksum error on iredmail.repo

I Have same error

bash iRedMail.sh
< SKIP > Function: check_new_iredmail.
< SKIP > Function: create_repo_rhel.
[ INFO ] Fetching source tarballs ...
[ INFO ] + 1 of 3: http://iredmail.org/yum/misc/roundcubem … ete.tar.gz
[ INFO ] + 2 of 3: http://iredmail.org/yum/misc/iRedAPD-2.0.tar.bz2
[ INFO ] + 3 of 3: http://iredmail.org/yum/misc/iRedAdmin-0.7.tar.bz2
[ INFO ] Validate packages ...
misc/roundcubemail-1.2.3-complete.tar.gz: OK
misc/iRedAPD-2.0.tar.bz2: FAILED
misc/iRedAdmin-0.7.tar.bz2: OK
md5sum: WARNING: 1 computed checksum did NOT match
        [ FAILED ]
<< ERROR >> MD5 check failed. Script exit ...

4

Re: Checksum error on iredmail.repo

melvuen wrote:

misc/iRedAPD-2.0.tar.bz2: FAILED

Please re-download iRedMail-0.9.6:
http://www.iredmail.org/download.html

We repacked iRedAPD-2.0, so that MD5 changed.