Re: MD5Sum mismatch 29 Jul 2011
On Fri, Jul 29, 2011 at 04:44, <firstname.lastname@example.org> wrote:
> Simon, I'm posting this in debian-mirrors and Cc'ing you, because you
> said I don't need to post in debian-devel to get a response.
> Be sure to tell me if you see my message.
> Today it happened again, at Fri Jul 29 02:12:33 UTC 2011
> W: Failed to fetch http://ftp.us.debian.org/debian/dists/experimental/main/binary-i386/PackagesIndex MD5Sum mismatch
> W: Failed to fetch http://ftp.us.debian.org/debian/dists/unstable/main/binary-i386/PackagesIndex MD5Sum mismatch
> E: Some index files failed to download. They have been ignored, or old ones used instead.
> exit value 100
> OK, running apt-get update again, while at the same time frantically
> doing netstat -pt like you said, shows mirror.mycre.ws:www,
> ike.egr.msu.edu:www, 188.8.131.52.east.:www etc.
> 1. this second run was successful, hence the netstat -pt stuff might be
> showing different machines than were the bad ones.
> 2. hitting netstat -pt over and over while apt-get update is running
> a. gets other connections from my computer
> b. gets other connections from sources.list
> c. is not a very systematic way of logging things
Then do it the right way if you're not satisfied.
netstat -ptnW|grep apt
As net-tools are deprecated anyway, you can use lsof -i TCP:80|grep apt
> Therefore I recommend there be a new flag in apt that I can turn on to
> put those IP addresses right there in the same output that the W:
> messages are in, so the next time the bug occurs I can send you a more
> exact report. Thank you.
Send a patch.
And I don't see exactly where your problem is. Aren't you handling
this error well enough?
Or can't you just workaround it by downloading it one more time?
If you want to find the corrupt file, download it from each mirror in
the rotation and check it manually. Should be faster than sending many
complaints to a mailing-list.