checksum errors on some modules in drush dl

anarcat - June 23, 2009 - 15:31
Project:Drush
Version:All-Versions-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Issue tags:error message
Description

I have seen this error a few times now:

File diff-5.x-2.1.tar.gz is corrupt (wrong md5 checksum).            [error]

... and I am not the only one. The checksum on the release page matches the checksum of the downloaded package for me (see http://drupal.org/node/302307) so I feel this is a drupal.org issue, but I am not certain.

This error does not happen all the time. I redownloaded the package just now and it worked without a flaw. Maybe it's the error message that is wrong?

#1

moshe weitzman - June 23, 2009 - 15:34
Status:active» postponed (maintainer needs more info)

Just downloaded that version 10x without error. Maybe your network connection?

#2

anarcat - June 23, 2009 - 15:42
Status:postponed (maintainer needs more info)» active

As I said, the error come and goes. I've seen at least one other person report this in the #aegir channel. The workaround is to try the command again and sometimes it just works.

Maybe it is the network connexion, but in that case, the error message is still wrong: it's not a checksum error, it's a network error and should be marked as such.

#3

rsvelko - August 28, 2009 - 18:46
Status:active» postponed (maintainer needs more info)

For me the checksum error does not happen - tried the same diff-5.x-2.1 ...

The error message seems right to me: drush dl compares the MD5 sum and sees that it does not match ...

File diff-5.x-2.1.tar.gz is corrupt (wrong md5 checksum). [error]

So it tells you that sth is not right...

Either way it maybe another's bug - of the packaging script or sth...

Most probably it is the network... Maybe the network arround drupal.org ?? :scared

How to reproduce this? Or else marking as fixed.

#4

rsvelko - August 28, 2009 - 18:47
Priority:critical» normal

it would be critical if many people suffer from it or it is proven to be a bug and reproducible...

#5

q0rban - August 28, 2009 - 21:12

This just happened to me for the first time. First two tries didn't work, but the third try worked fine. Strange.

#6

rsvelko - August 31, 2009 - 13:56

any reports and ways to replicate are welcome... who knows whose bug this is...

#7

cleaver - October 19, 2009 - 01:56

I receive this error as well. Most modules download with no problem. Other modules require a few attempts. Some modules don't seem to work at all.

#8

bbeyer - October 23, 2009 - 15:55

I am having the same problem. For me it does appear to be a network issue. The error message should be updated to be more clear depending on the actual issue. Perhaps, "Unable to download module." I think this would help users troubleshoot more effectively.

#9

cleaver - October 30, 2009 - 02:54

Just to update what I found...

This is under windows that the problem occurs. I think it may be due to a buggy version of wget. Often it seems to freeze up and the wget process is hung.

 
 

Drupal is a registered trademark of Dries Buytaert.